1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: linx56
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/"

  # fix permissions
  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 {} +
}

# vim:set ts=2 sw=2 et: