[arch-commits] Commit in hddtemp/trunk (PKGBUILD)
Gaetan Bisson
bisson at nymeria.archlinux.org
Sat Oct 26 07:57:38 UTC 2013
Date: Saturday, October 26, 2013 @ 09:57:37
Author: bisson
Revision: 197498
split prepare() function out
Modified:
hddtemp/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-26 07:52:12 UTC (rev 197497)
+++ PKGBUILD 2013-10-26 07:57:37 UTC (rev 197498)
@@ -21,11 +21,15 @@
'b9bcdd0537c1540e55e5056445b571ea61d5a4a3'
'9b02e5bed22f81ceab2b69bae788a9a3aa5c2147')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${_origver}"
patch -p1 -i "../${pkgname}_${_patchver}.diff"
+}
+build() {
+ cd "${srcdir}/${pkgname}-${_origver}"
+
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
More information about the arch-commits
mailing list