summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0456a35c0d801b9633768e714668ff95fee00ead (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
28
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Jakob Gahde <j5lx@fmail.co.uk>

_pkgname=xattr
pkgname=php-${_pkgname}
pkgver=1.4.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")
sha256sums=('744d2a3f1469de6d3b5f30b5b17095efc714c5f71c8af3734afdd9e4819c140b')

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"

  phpize
  ./configure
  make
}

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}"

  make install INSTALL_ROOT="${pkgdir}"
}