Date: Saturday, October 26, 2013 @ 09:57:50
  Author: bisson
Revision: 197501

split prepare() function out

Modified:
  libots/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-10-26 07:57:46 UTC (rev 197500)
+++ PKGBUILD    2013-10-26 07:57:50 UTC (rev 197501)
@@ -14,8 +14,7 @@
 
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/ots-${pkgver}.tar.gz";)
 sha1sums=('4468bc06470734848c2369a37c84f76ca4ac3f9a')
 
-
-build() {
+prepare() {
        cd "${srcdir}/ots-${pkgver}"
        touch gtk-doc.make
        sed -i -e 's/en.xml$//' dic/Makefile.am
@@ -23,6 +22,10 @@
        aclocal
        automake --add-missing --force
        autoconf
+}
+
+build() {
+       cd "${srcdir}/ots-${pkgver}"
        ./configure --prefix=/usr
        make
 }

Reply via email to