updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / macutils / PKGBUILD
blob9bf45df512c9c131a846aab7cb4fdb6346084e2a
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
2 # Contributor: Giovanni Scafora <linuxmania@gmail.com>
4 pkgname=macutils
5 pkgver=2.0b3
6 pkgrel=3
7 pkgdesc="A collection of utilities to handle Macintosh files/archives"
8 arch=('i686' 'x86_64')
9 url="http://homepages.cwi.nl/~dik/english/ftp.html"
10 license=('GPL' 'custom')
11 depends=('glibc')
12 source=(http://ftp.debian.org/debian/pool/main/m/macutils/macutils_$pkgver.orig.tar.gz \
13         macutils-gcc4.patch \
14         LICENSE)
15 md5sums=('4ff71b1634ea503398c33994458fbe40'
16          '2333ae576ccfcf83bf76b91c52b153ec'
17          'efd4153e79835f9aa88b9480d117c47d')
19 build() {
20   cd $pkgname
22   patch -Np1 -i ../macutils-gcc4.patch || return 1
24   mkdir -p "$pkgdir"/usr/{bin,share/man/man1}
26   make CF="${CFLAGS} -DTYPES_H -DDIRENT_H -DTERMIOS_H -DLATIN1" || return 1
27   make BINDIR="$pkgdir"/usr/bin install
29   install -m644 man/* $startdir/pkg/usr/share/man/man1/
30   install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE