updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / storebackup / PKGBUILD
blobf6316055fecd15436e863e35a4377b881e2a6128
1 # Maintainer: linx56
2 pkgname=storebackup
3 pkgver=3.2
4 pkgrel=2
5 pkgdesc="A backup utility that stores files on other disks"
6 arch=('any')
7 url="http://savannah.nongnu.org/projects/storebackup"
8 license=('GPL3')
9 depends=('perl' 'util-linux-ng')
10 source=(http://download.savannah.gnu.org/releases/storebackup/storeBackup-$pkgver.tar.bz2)
12 md5sums=('5122938f890d52ec86988ebd762f365e')
13 sha256sums=('adf3b8b00f9e97c6192855c04694bf47328c839bc6610990cfd95fa32e0ac8ce')
15 build() {
16   cd "$srcdir/storeBackup"
17   install -dm755 "$pkgdir/usr/share"
18   mv bin lib "$pkgdir/usr/"
19   mv man "$pkgdir/usr/share/"
21   # fix permissions
22   find "$pkgdir/usr/" -type d -exec chmod 755 {} +
23   find "$pkgdir/usr/bin/" -type f -exec chmod 755 {} +
24   find "$pkgdir/usr/lib/" -type f -exec chmod 755 {} +
25   find "$pkgdir/usr/"{share/man} -type f -exec chmod 644 {} +
28 # vim:set ts=2 sw=2 et: