diff options
author | Markus Otto | 2017-08-22 17:44:00 +0200 |
---|---|---|
committer | Markus Otto | 2017-08-22 17:44:00 +0200 |
commit | 7aeea9a78189ee5edc74ea655b971d67b5019be2 (patch) | |
tree | 1689001ca6f81b1afaa94f66a2fb625a2afc89e3 | |
download | aur-7aeea9a78189ee5edc74ea655b971d67b5019be2.tar.gz |
add version 2.0.1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bc099a839d7f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = php-xdiff + pkgdesc = A file differences/patches module for PHP + pkgver = 2.0.1 + pkgrel = 0 + url = https://pecl.php.net/package/xdiff + arch = i686 + arch = x86_64 + license = PHP + depends = php + depends = libxdiff + source = https://pecl.php.net/get/xdiff-2.0.1.tgz + sha256sums = b4ac96c33ec28a5471b6498d18c84a6ad0fe2e4e890c93df08e34061fba7d207 + +pkgname = php-xdiff + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c869dbcb3909 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Markus Otto <otto@fs.tum.de> + +pkgname=php-xdiff +pkgver=2.0.1 +pkgrel=0 +arch=('i686' 'x86_64') +pkgdesc='A file differences/patches module for PHP' +url='https://pecl.php.net/package/xdiff' +depends=('php' 'libxdiff') +license=('PHP') +source=("https://pecl.php.net/get/xdiff-$pkgver.tgz") +sha256sums=('b4ac96c33ec28a5471b6498d18c84a6ad0fe2e4e890c93df08e34061fba7d207') + +build() { + cd $srcdir/xdiff-$pkgver + + phpize + ./configure --prefix=/usr + make +} + +check() { + cd $srcdir/xdiff-$pkgver + + export REPORT_EXIT_STATUS=1 + export NO_INTERACTION=1 + export SKIP_ONLINE_TESTS=1 + export SKIP_SLOW_TESTS=1 + make test +} + +package() { + cd $srcdir/xdiff-$pkgver + + make INSTALL_ROOT=$pkgdir install +} |