summaryrefslogtreecommitdiff
path: root/extra/arj
diff options
context:
space:
mode:
Diffstat (limited to 'extra/arj')
-rw-r--r--extra/arj/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/extra/arj/PKGBUILD b/extra/arj/PKGBUILD
index 720f63d5f..47aa5dc5f 100644
--- a/extra/arj/PKGBUILD
+++ b/extra/arj/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 149330 2012-02-06 20:41:57Z stephane $
+# $Id: PKGBUILD 195286 2013-09-29 21:24:32Z eric $
# Maintainer:
# Contributor: Travis Willard <travisw@wmpub.ca>
# Contributor: Gergely Tamas <dice@mfa.kfki.hu>
pkgname=arj
pkgver=3.10.22
-pkgrel=7.1
+pkgrel=8
pkgdesc="Free and portable clone of the ARJ archiver"
url="http://arj.sourceforge.net/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
-options=('!makeflags')
depends=('glibc')
+options=('!makeflags')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
001_arches_align.patch
002_no_remove_static_const.patch
@@ -23,7 +23,7 @@ md5sums=('f263bf3cf6d42a8b7e85b4fb514336d3'
'56b3cf96ec485b0d824761457417fcc0'
'4630a7254dfc6c8d8c7e696aa4a58f4a')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Add gentoo patches
@@ -35,7 +35,13 @@ build() {
cd gnu
aclocal
autoconf
- ./configure --prefix=/usr --build=$CHOST --host=$CHOST
+ rm -f config.{guess,sub}
+ cp /usr/share/automake-1.14/config.{guess,sub} .
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/gnu"
+ ./configure --prefix=/usr
cd ..
make prepare
make