updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / afio / PKGBUILD
blob3c647a58f5334ec78ec072132e8deac23fce4ac2
1 # Contributor: Gergely Tamas <dice@mfa.kfki.hu>
2 pkgname=afio
3 pkgver=2.5
4 pkgrel=4
5 pkgdesc="Archiver & backup program with builtin compression"
6 url=("http://freecode.com/projects/afio")
7 arch=('i686' 'x86_64')
8 license=('custom')
9 depends=('glibc')
10 source=(http://www.ibiblio.org/pub/Linux/system/backup/$pkgname-$pkgver.tgz LICENSE)
11 md5sums=('8c6665e0f875dcd8e1bdb18644b59688'
12          'ac2f8994ee5b5ff0213b6177a6a83494')
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
16   make || return 1
17   
18   install -d $startdir/pkg/usr/bin
19   install -m 755 afio $startdir/pkg/usr/bin
20   install -d $startdir/pkg/usr/man/man1
21   install -m 644 afio.1 $startdir/pkg/usr/man/man1
22   
23   # installing LICENSE
24   # note that there is some discussion[1] about the state of this LICENSE
25   # [1] https://bugzilla.redhat.com/show_bug.cgi?id=449037
26   install -d $pkgdir/usr/share/licenses/$pkgname
27   install -m 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE