[arch-commits] Commit in mlocate/trunk (PKGBUILD)
Gaetan Bisson
bisson at nymeria.archlinux.org
Sat Oct 26 07:57:55 UTC 2013
Date: Saturday, October 26, 2013 @ 09:57:55
Author: bisson
Revision: 197502
split prepare() function out
Modified:
mlocate/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-26 07:57:50 UTC (rev 197501)
+++ PKGBUILD 2013-10-26 07:57:55 UTC (rev 197502)
@@ -19,10 +19,13 @@
'0150379149bf9d714bc81332d775fc273e7e3535'
'8301e6277d27db539af6cf4bc243e8e247bffc2e')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i '/^groupname /s/mlocate/locate/' Makefile.in
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -i '/^groupname /s/mlocate/locate/' Makefile.in
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
}
More information about the arch-commits
mailing list