Skip to content
PKGBUILD 867 B
Newer Older
Seblu's avatar
Seblu committed
# Maintainer: Sébastien Luttringer

pkgname=archivetools-git
pkgver="$(git log --pretty=format:''|wc -l)"
pkgrel=1
pkgdesc='Archlinux Archive Tools (Git version)'
arch=('any')
url='https://github.com/seblu/archivetools'
license=('GPL2')
Seblu's avatar
Seblu committed
depends=('rsync' 'hardlink' 'xz' 'util-linux')
conflicts=('archivetools')
Seblu's avatar
Seblu committed
backup=('etc/archive.conf')
install=archivetools.install

package() {
  cd "$startdir"
  install -Dm644 archive.conf "$pkgdir/etc/archive.conf"
  install -Dm755 archive.sh "$pkgdir/usr/bin/archive"
  # systemd stuff
  install -Dm644 archive.sysusers "$pkgdir/usr/lib/sysusers.d/archive.conf"
  install -Dm644 archive.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/archive.conf"
  install -Dm644 archive.service "$pkgdir/usr/lib/systemd/system/archive.service"
  install -Dm644 archive.timer "$pkgdir/usr/lib/systemd/system/archive.timer"
}

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