updated on Mon Jan 23 20:11:11 UTC 2012
[aur-mirror.git] / mpack / PKGBUILD
blob4c45d3e1fa73e4e8b00832212514f46d6c5a9cd8
1 # Contributor: Alexandre Possebom <alexandrepossebom@gmail.com>
3 pkgname=mpack
4 pkgver=1.6
5 pkgrel=2
6 pkgdesc="Utilities for encoding and decoding binaries files in MIME format mail messages"
7 arch=('i686' 'x86_64')
8 url="http://ftp.andrew.cmu.edu/pub/mpack/"
9 license=('GPL')
10 depends=()
11 source=(http://ftp.andrew.cmu.edu/pub/mpack/$pkgname-$pkgver.tar.gz gcc4-fixes.patch)
12 md5sums=('a70fa5afa76539a9afb70b9d81568fe8' 'ba2f5be9441f6bcf7cb88ef54b75ca05')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   patch -p1 -N <../gcc4-fixes.patch || return 1
17   ./configure --prefix=/usr --mandir=/usr/share/man || return 1
18   make || return 1
19   make DESTDIR=$pkgdir install || return 1