summaryrefslogtreecommitdiffstats
path: root/php-imagick/PKGBUILD
blob: 80936d157b3956bd7def598c223c1f4eddcc6085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Evangelos Foutras <foutrelis@gmail.com>

pkgname=php-imagick
pkgver=2.3.0
pkgrel=1
pkgdesc="PHP extension for IMagick"
arch=('i686' 'x86_64')
url="http://pecl.php.net/package/imagick"
license=('PHP')
depends=('php' 'imagemagick')
backup=('etc/php/conf.d/memcached.ini')
install=php-imagick.install
source=(http://pecl.php.net/get/imagick-$pkgver.tgz)

build() {
  cd "$srcdir/imagick-$pkgver"

  phpize || return 1
  ./configure --prefix=/usr
  make || return 1
  make INSTALL_ROOT="$pkgdir" install
  echo ';extension=imagick.so' > imagick.ini
  install -D -m644 imagick.ini "$pkgdir/etc/php/conf.d/imagick.ini"
}
md5sums=('1493a21b37e209cc59764ac1ca2a1af9')