[arch-commits] Commit in iana-etc/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Sat Oct 26 07:57:42 UTC 2013


    Date: Saturday, October 26, 2013 @ 09:57:42
  Author: bisson
Revision: 197499

split prepare() function out

Modified:
  iana-etc/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-26 07:57:37 UTC (rev 197498)
+++ PKGBUILD	2013-10-26 07:57:42 UTC (rev 197499)
@@ -15,9 +15,13 @@
 sha1sums=('218593bcb9264014c4e397d838b2c218eac9df06'
           '1e306cf77bc4e97cc020d6c53cb9de81c186a483')
 
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../newer.patch
+}
+
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	patch -p1 -i ../newer.patch
 	make get
 	make
 }




More information about the arch-commits mailing list