summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b965294117a13745cc68d22d0d16933ea8d806e (plain)
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: Rene Hahne <rehahne@gmail.com>
# Contributor: jens-na <me at jens-na dot de>
# Contributor: linx56
pkgname=storebackup
pkgver=3.5.2
pkgrel=1
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')
source=(http://download.savannah.gnu.org/releases/storebackup/storeBackup-$pkgver.tar.bz2)
md5sums=('ec30e61558d2b0459ab29fd73a593aa1')

package() {
  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: