pkgname=storebackup
pkgver=3.3
pkgrel=3
pkgdesc="A backup utility that stores files on other disks"
arch=('any')
url="http://savannah.nongnu.org/projects/storebackup"
license=('GPL3')
depends=('perl' 'util-linux-ng')
source=(http://download.savannah.gnu.org/releases/storebackup/storeBackup-$pkgver.tar.bz2)
md5sums=('e610f298f57ae10057bbdf7c6c0fc4dc')
sha256sums=('0c01ce3c6513e9e8de9bd48834f109597a500058285193b139c0bd7d6a989d4a')
build() {
cd "$srcdir/storeBackup"
install -dm755 "$pkgdir/usr/share"
mv bin lib "$pkgdir/usr/"
mv man "$pkgdir/usr/share/"
find "$pkgdir/usr/" -type d -exec chmod 755 {} +
find "$pkgdir/usr/bin/" -type f -exec chmod 755 {} +
find "$pkgdir/usr/lib/" -type f -exec chmod 755 {} +
find "$pkgdir/usr/share/man" -type f -exec chmod 644 {} +
}