1 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
7 pkgdesc="Support for YAML 1.1 (YAML Ain't Markup Language) serialization using the LibYAML library."
9 url="http://code.google.com/p/php-yaml/"
11 depends=('php' 'libyaml')
12 source=("http://pecl.php.net/get/$_extname-$pkgver.tgz")
13 backup=("etc/php/conf.d/$_extname.ini")
14 md5sums=('d8a965479d919e1526dd43295783c7f7')
17 cd "$srcdir/$_extname-$pkgver"
23 install -m0755 -d "$pkgdir/etc/php/conf.d/"
24 install -m0644 -D "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
25 echo "extension=$_extname.so" > "$pkgdir/etc/php/conf.d/$_extname.ini"
26 chmod 0644 "$pkgdir/etc/php/conf.d/$_extname.ini"
27 install -m0755 -D ".libs/$_extname.so" "$pkgdir$(php-config --extension-dir)/$_extname.so"
30 # vim:set ts=2 sw=2 et: