summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d14ea5ea30a64975860266facee9757c15eec59 (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
26
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}"
}