blob: 720f63d5fa8c21c917143001f09016741c60d7e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $Id: PKGBUILD 149330 2012-02-06 20:41:57Z stephane $
# Maintainer:
# Contributor: Travis Willard <travisw@wmpub.ca>
# Contributor: Gergely Tamas <dice@mfa.kfki.hu>
pkgname=arj
pkgver=3.10.22
pkgrel=7.1
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')
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
arj-3.10.22-custom-printf.patch)
md5sums=('f263bf3cf6d42a8b7e85b4fb514336d3'
'550bc972d825036f17f202a2b11b35c2'
'395dfa8cc500ffae648777f8f241be88'
'56b3cf96ec485b0d824761457417fcc0'
'4630a7254dfc6c8d8c7e696aa4a58f4a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Add gentoo patches
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"
cd gnu
aclocal
autoconf
./configure --prefix=/usr --build=$CHOST --host=$CHOST
cd ..
make prepare
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|