summaryrefslogtreecommitdiff
path: root/extra/arj/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-28 02:44:47 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-28 02:44:47 -0300
commitc3b94090a6330f678ade2f767e76ab7802d3463e (patch)
treee3d2321dce46bfdbc070fcee19e2852566510fe8 /extra/arj/PKGBUILD
parent652c41cc5fd8dc5f23ef6a6c93f488911e1054c7 (diff)
parent33feb015eb09eee76827f359e685fce981d88111 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/chmsee/PKGBUILD community/flumotion/PKGBUILD community/gnash/PKGBUILD community/kadu/PKGBUILD community/mythplugins/PKGBUILD community/performous/PKGBUILD community/sleuthkit/PKGBUILD community/virtualbox/PKGBUILD community/wbar/PKGBUILD core/attr/PKGBUILD core/binutils/PKGBUILD core/heimdal/PKGBUILD core/sqlite3/PKGBUILD extra/acpid/PKGBUILD extra/apache-ant/PKGBUILD extra/aria2/PKGBUILD extra/boost/PKGBUILD extra/bs/PKGBUILD extra/bzr/PKGBUILD extra/cvsps/PKGBUILD extra/dosbox/PKGBUILD extra/ettercap-gtk/PKGBUILD extra/fetchmail/PKGBUILD extra/gnome-desktop-sharp/PKGBUILD extra/gnome-panel/PKGBUILD extra/gptfdisk/PKGBUILD extra/gqmpeg/PKGBUILD extra/gstreamer0.10-base/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/gtk-theme-switch2/PKGBUILD extra/icecast/PKGBUILD extra/kdeedu/PKGBUILD extra/kmldonkey/PKGBUILD extra/kmplayer/PKGBUILD extra/libbtctl/PKGBUILD extra/libftdi/PKGBUILD extra/liborigin2/PKGBUILD extra/libpst/PKGBUILD extra/libx86/PKGBUILD extra/lsdvd/PKGBUILD extra/mc/PKGBUILD extra/monotone/PKGBUILD extra/multitail/PKGBUILD extra/nbsmtp/PKGBUILD extra/nickle/PKGBUILD extra/nppangband/PKGBUILD extra/numlockx/PKGBUILD extra/pidgin/PKGBUILD extra/poppler/PKGBUILD extra/python-gtkglext/PKGBUILD extra/scim/PKGBUILD extra/socat/PKGBUILD extra/speedcrunch/PKGBUILD extra/transmission/PKGBUILD extra/vbetool/PKGBUILD extra/vlc/PKGBUILD extra/xchat-gnome/xchat-gnome.install libre/kernel26-libre/PKGBUILD libre/pacman/PKGBUILD libre/xchat-gnome-libre/PKGBUILD libre/xchat-gnome-libre/gtk2-2.20.patch libre/xchat-gnome-libre/xchat-gnome-0.26.1-deprecated-symbol.patch libre/xchat-gnome-libre/xchat-gnome.install multilib/nspluginwrapper/PKGBUILD testing/libgweather/libgweather.install testing/mesa/PKGBUILD
Diffstat (limited to 'extra/arj/PKGBUILD')
-rw-r--r--extra/arj/PKGBUILD45
1 files changed, 20 insertions, 25 deletions
diff --git a/extra/arj/PKGBUILD b/extra/arj/PKGBUILD
index d62daea42..bf0a734bf 100644
--- a/extra/arj/PKGBUILD
+++ b/extra/arj/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 49803 2009-08-16 14:37:35Z jgc $
-# Maintainer: Travis Willard <travisw@wmpub.ca>
+# $Id: PKGBUILD 124090 2011-05-16 15:11:39Z andrea $
+# Maintainer:
+# Contributor: Travis Willard <travisw@wmpub.ca>
# Contributor: Gergely Tamas <dice@mfa.kfki.hu>
pkgname=arj
pkgver=3.10.22
-pkgrel=5
+pkgrel=6
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')
-makedepends=('autoconf')
-options=(!makeflags)
-source=(http://downloads.sourceforge.net/sourceforge/arj/$pkgname-$pkgver.tar.gz
+source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
001_arches_align.patch
002_no_remove_static_const.patch
003_64_bit_clean.patch
@@ -22,33 +22,28 @@ md5sums=('f263bf3cf6d42a8b7e85b4fb514336d3'
'395dfa8cc500ffae648777f8f241be88'
'56b3cf96ec485b0d824761457417fcc0'
'4630a7254dfc6c8d8c7e696aa4a58f4a')
-sha1sums=('e8470f480e9eee14906e5485a8898e5c24738c8b'
- '7f8904f8c89bacbbeec8c431d627efbb8da2f259'
- '919a3c02a1e039803502c21175d69f7703d13026'
- 'd506338e34b40ef5cac6ec14c858fd651a354aaf'
- '4c9481a4b196c4f56fb44fcd3b9362222d6cbe58')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Add gentoo patches
- patch -Np1 -i "${srcdir}/001_arches_align.patch" || return 1
- patch -Np1 -i "${srcdir}/002_no_remove_static_const.patch" || return 1
- patch -Np1 -i "${srcdir}/003_64_bit_clean.patch" || return 1
- patch -Np1 -i "${srcdir}/arj-3.10.22-custom-printf.patch" || return 1
+ patch -p1 -i "${srcdir}/001_arches_align.patch"
+ patch -p1 -i "${srcdir}/002_no_remove_static_const.patch"
+ patch -p1 -i "${srcdir}/003_64_bit_clean.patch"
+ patch -p1 -i "${srcdir}/arj-3.10.22-custom-printf.patch"
- # Build!
cd gnu
- aclocal || return 1
- autoconf || return 1
+ aclocal
+ autoconf
rm -f config.{guess,sub}
- _autover=$(automake --version | head -n1 | awk '{ print $4 }')
- cp /usr/share/automake-${_autover}/config.{guess,sub} . || return 1
- ./configure --prefix=/usr || return 1
+ cp /usr/share/automake-1.11/config.{guess,sub} .
+ ./configure --prefix=/usr
cd ..
- make prepare || return 1
- make || return 1
+ make prepare
+ make
+}
- # Install!
- make DESTDIR="${pkgdir}" install || return 1
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}