Date: Sunday, September 29, 2013 @ 23:23:08 Author: eric Revision: 195285
upgpkg: arj 3.10.22-8 Add prepare function Modified: arj/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-09-29 20:55:02 UTC (rev 195284) +++ PKGBUILD 2013-09-29 21:23:08 UTC (rev 195285) @@ -5,13 +5,13 @@ pkgname=arj pkgver=3.10.22 -pkgrel=7 +pkgrel=8 pkgdesc="Free and portable clone of the ARJ archiver" url="http://arj.sourceforge.net/" arch=('i686' 'x86_64') license=('GPL') +depends=('glibc') options=('!makeflags') -depends=('glibc') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" 001_arches_align.patch 002_no_remove_static_const.patch @@ -23,7 +23,7 @@ '56b3cf96ec485b0d824761457417fcc0' '4630a7254dfc6c8d8c7e696aa4a58f4a') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" # Add gentoo patches @@ -36,7 +36,11 @@ aclocal autoconf rm -f config.{guess,sub} - cp /usr/share/automake-1.11/config.{guess,sub} . + cp /usr/share/automake-1.14/config.{guess,sub} . +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/gnu" ./configure --prefix=/usr cd .. make prepare
