diff options
author | Eugene Lamskoy | 2020-01-02 19:04:16 +0200 |
---|---|---|
committer | Eugene Lamskoy | 2020-01-02 19:04:16 +0200 |
commit | 479d43af751321d480ea5519187d631fe45abc1d (patch) | |
tree | 7b47aab4e69dc7a03b0b769b621516eba15068ce | |
download | aur-479d43af751321d480ea5519187d631fe45abc1d.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..04138f4bb8e2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = php72-igbinary + pkgdesc = php72 extension igbinary + pkgver = 3.0.1 + pkgrel = 1 + url = http://pecl.php.net/package/igbinary + arch = x86_64 + license = PHP + makedepends = php72 + depends = php72 + backup = etc/php72/conf.d/igbinary.ini + source = http://pecl.php.net/get/igbinary-3.0.1.tgz + md5sums = fb3b2f7fa306ca582afd9f382c409a24 + +pkgname = php72-igbinary + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..54f60cf993a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.xz +*.tar.gz +*.tar.bz2 +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ce5461b55ae6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +_phpbase=72 +pkgname=php72-igbinary +_pkgname=igbinary +pkgver=3.0.1 +pkgrel=1 +pkgdesc="php72 extension igbinary" +url="http://pecl.php.net/package/igbinary" +arch=('x86_64') +license=('PHP') +makedepends=("php${_phpbase}") +depends=("php${_phpbase}") +backup=("etc/php${_phpbase}/conf.d/igbinary.ini") +source=("http://pecl.php.net/get/igbinary-${pkgver}.tgz") +md5sums=('fb3b2f7fa306ca582afd9f382c409a24') + +build() { + cd "$srcdir/igbinary-$pkgver" + phpize${_phpbase} + ./configure --prefix=/usr CFLAGS="-O2 -g" --enable-igbinary + make +} + +check() { + cd "$srcdir/igbinary-$pkgver" + NO_INTERACTION=1 make test +} + +package() { + cd "$srcdir/igbinary-$pkgver" + make INSTALL_ROOT="$pkgdir" install + install -D -m0644 \ + "${srcdir}/${_pkgname}-${pkgver}/igbinary.php.ini" \ + "${pkgdir}/etc/php72/conf.d/igbinary.ini" + install -D -m0644 \ + "${srcdir}/${_pkgname}-${pkgver}/COPYING" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |