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

Balló György bgyorgy at nymeria.archlinux.org
Sat Nov 30 21:12:49 UTC 2013


    Date: Saturday, November 30, 2013 @ 22:12:49
  Author: bgyorgy
Revision: 101771

Implement prepare function

Modified:
  hyena/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-30 21:06:33 UTC (rev 101770)
+++ PKGBUILD	2013-11-30 21:12:49 UTC (rev 101771)
@@ -16,12 +16,16 @@
 sha256sums=('eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9'
             '7528a78b710c253d787c3cc8239d42f85290bad9253eb0575b87d9dd9034609b')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  # https://bugzilla.gnome.org/show_bug.cgi?id=633333 
+  # Fix build
+  # https://bugzilla.gnome.org/show_bug.cgi?id=633333
   patch -Np1 -i "$srcdir/fix-build.patch"
+}
 
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
   aclocal -I build/m4/shamrock
   automake --gnu
   autoconf
@@ -31,7 +35,6 @@
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-
   make DESTDIR="$pkgdir/" install
   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
 }




More information about the arch-commits mailing list