blob: 7c6cbb3e27b10f2f8114bbc3ca5bf69df33899b3 (
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
48
49
50
51
52
|
# Contributor: <kalonji@gmail.com>
# Maintainer: <kalonji@gmail.com>
pkgname=par2cmdline
pkgver=0.4
pkgrel=1
pkgdesc="Providing a tool to apply the data-recovery capability concepts of RAID-like systems to the posting & recovery of multi-part archives on Usenet."
url="http://sourceforge.net/projects/parchive/"
license="GPL"
depends=
makedepends=
install=
source="http://downloads.sourceforge.net/sourceforge/parchive/${pkgname}-${pkgver}.tar.gz
par2cmdline-0.4-autoconf.patch
par2cmdline-0.4-letype.patch
par2cmdline-0.4-cosmetic.patch
par2cmdline-0.4-offset.patch
par2cmdline-0.4-gcc4.patch
par2cmdline-0.4-wildcard-fix.patch
par2cmdline-0.4-hardlinks.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in "$srcdir"/*.patch; do
msg "Applying ${i}"
patch -N -i $i || return 1
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="1551b63e57e3c232254dc62073b723a9 par2cmdline-0.4.tar.gz
8a0fad41e3c3165e3c788d2693797557 par2cmdline-0.4-autoconf.patch
1f7adb9308d4e972a5630eb56a42f8d5 par2cmdline-0.4-letype.patch
986d44b0cdba449459f9cfd93322144f par2cmdline-0.4-cosmetic.patch
cd54801b5107f03982c2b01ead21f02a par2cmdline-0.4-offset.patch
d52515669d3bc43f19c545fd6405dacc par2cmdline-0.4-gcc4.patch
c823d25f8862531e6e435ce0c76f8384 par2cmdline-0.4-wildcard-fix.patch
8683d237bc11e9d5581d14b4697d1f8b par2cmdline-0.4-hardlinks.patch"
|