diff options
author | Thomas Hebb | 2013-06-05 00:29:22 -0400 |
---|---|---|
committer | Thomas Hebb | 2013-06-05 00:31:11 -0400 |
commit | e9836bb819750b679f397594c10869a55d33502c (patch) | |
tree | f08fc0043da7f089321339ff5bd379012e354ffe | |
parent | 7311dbd1f28f59694f1f08e84cc45be7674cde52 (diff) | |
download | aur-e9836bb819750b679f397594c10869a55d33502c.tar.gz |
Use new prepare() function
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -30,7 +30,7 @@ sha256sums=('4b27e4f06f32d30271df89ecb6089bb11bcf2caec5f60b0909e083095354bca0' _cvsroot=':pserver:anonymous:@gimp-print.cvs.sourceforge.net:/cvsroot/gimp-print' _cvsmod='gimp-print' -build() { +prepare() { cd "$srcdir" msg "Connecting to $_cvsmod.sourceforge.net CVS server...." @@ -52,6 +52,11 @@ build() { patch -Np1 -i "${srcdir}/configure_ac.patch" # We extract the precompiled documentation from the latest release because there is currently no easy way to run db2html on Arch. tar -xjf "${srcdir}/${_docname}-${_docver}.tar.bz2" --strip-components 1 "${_docname}-${_docver}/doc/developer" +} + +build() { + cd "$srcdir/$_cvsmod-build" + NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr \ --enable-samples \ |