PKGBUILD 658 Bytes
Newer Older
1
2
3
# Maintainer: Sébastien Luttringer

pkgname=archversion-git
Seblu's avatar
Seblu committed
4
pkgver=$(git log --pretty=format:''|wc -l)
5
6
7
8
9
pkgrel=1
pkgdesc='Archlinux Version Controller (Git version)'
arch=('any')
url='https://github.com/seblu/archversion'
license=('GPL2')
Seblu's avatar
Seblu committed
10
depends=('python' 'pyalpm' 'python-xdg' 'python-systemd')
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

build() {
  cd "${startdir}/.."
  ./bootstrap
  ./configure --prefix=/usr
  make
}

package() {
  cd "${startdir}/.."
  make install DESTDIR="$pkgdir"
  install -Dm644 misc/archversion.service "$pkgdir/usr/lib/systemd/user/archversion.service"
  install -Dm644 misc/archversion.timer "$pkgdir/usr/lib/systemd/user/archversion.timer"
}

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