summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormijikai2013-12-15 15:45:41 +0800
committermijikai2013-12-15 15:47:54 +0800
commit66e2e9bf70a821314527c2225621d0ae916b6ebe (patch)
tree8aabc605ad5eb2622f010dd0740d9a66dd917b2f
parentdd181f7ffe0a2df95d901efe3998a3374decc629 (diff)
downloadaur-66e2e9bf70a821314527c2225621d0ae916b6ebe.tar.gz
Update for pacman 4.1
-rw-r--r--PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0418d2f8bf8..de06465b51d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,9 +13,13 @@ source=(http://oligarchy.co.uk/xapian/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('4ab93bd80e786f2adbba1b49d61c5ee0')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=${pkgdir} install
}