diff options
author | Your Name | 2021-03-11 12:11:06 +0100 |
---|---|---|
committer | Your Name | 2021-03-11 12:11:06 +0100 |
commit | ced0a40caf6bd0753ecf52e95014fc7b6dd3f905 (patch) | |
tree | 6ed89198641743240da8d76f1fa2711c1c094757 | |
parent | aacbf2e5e65ff412e519032274efe84938e7ff90 (diff) | |
download | aur-ced0a40caf6bd0753ecf52e95014fc7b6dd3f905.tar.gz |
always build latest release
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -3,7 +3,7 @@ pkgbase = php-xapian pkgdesc = PHP bindings for Xapian pkgver = 1.4.14 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = http://xapian.org/docs/bindings/php/ arch = armv7h @@ -6,7 +6,7 @@ pkgname=('php-xapian') _realname=xapian-bindings pkgver=1.4.14 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="PHP bindings for Xapian" arch=('armv7h' 'i686' 'x86_64') url="http://xapian.org/docs/bindings/php/" @@ -15,6 +15,11 @@ license=('GPL') source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz") sha512sums=('SKIP') +pkgver() { + # Arch implements the latest release, for this reason the version has to be up to date! + curl -s 'https://oligarchy.co.uk/xapian/?C=M;O=D' | grep -oh '>[0-9]*\.[0-9]*\.[0-9]*\/<' | grep -oh '[0-9]*\.[0-9]*\.[0-9]*' | head -n 1 +} + build() { cd "$srcdir/${_realname}-$pkgver" ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ |