diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9d14ea5ea30a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> + +_pkgname=xattr +pkgname=php-${_pkgname} +pkgver=1.3.0 +pkgrel=1 +pkgdesc="PHP extension that allows to manipulate extended attributes on filesystems that support them" +arch=('i686' 'x86_64') +license=('PHP') +url='https://pecl.php.net/package/xattr' +depends=('php') +source=("https://pecl.php.net/get/${_pkgname}-${pkgver}.tgz") +md5sums=('f84aa0ae77f6935af7b5a4fef800ee70') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + phpize + ./configure + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make install INSTALL_ROOT="${pkgdir}" +} |