updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / pax-patched / PKGBUILD
blob0ef878851a49acfe1e64c163c142e97e683ea4a0
1 pkgname=pax-patched
2 pkgver=3.4
3 pkgrel=1
4 pkgdesc="The POSIX standard archive tool, supporting the two most common forms of standard Unix archive (backup) 
5 files - CPIO and TAR. You can compile this using gcc 4.6"
6 arch=('i686' 'x86_64')
7 url="http://ftp.suse.com/pub/people/kukuk/pax/"
8 license=('BSD')
9 groups=()
10 depends=()
11 makedepends=()
12 provides=('pax')
13 conflicts=('pax')
14 replaces=('pax')
15 backup=()
16 options=()
17 install=
18 source=(http://ftp.suse.com/pub/people/kukuk/pax/pax-$pkgver.tar.bz2
19         fts.c.patch)
20 noextract=()
22 md5sums=('fbd9023b590b45ac3ade95870702a0d6'
23          '2b378ebb678b4c18cce559d604e9011f') #generate with 'makepkg -g'
25 build() {
26   cd "$srcdir/pax-$pkgver"
27   patch -uN lib/fts.c $srcdir/fts.c.patch || return 1
28   ./configure --prefix=/usr
29   make || return 1
30   make DESTDIR="$pkgdir/" install
31   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
34 # vim:set ts=2 sw=2 et: