summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 962decc56bb76ea8441afcac29767ff7fc7dddab (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
29
30
31
# Maintainer: Sébastien Luttringer

pkgname=archversion-git
pkgver=2013.12.17
pkgrel=1
pkgdesc='Archlinux Version Controller (Git version)'
arch=('any')
url='https://github.com/seblu/archversion'
license=('GPL2')
depends=('python' 'pyalpm' 'python-xdg')
makedepends=('git')
source=('git+https://github.com/seblu/archversion.git')
md5sums=('SKIP')

pkgver() {
  date +%Y.%m.%d
}

build() {
  cd ${pkgname%-git}
  ./bootstrap
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname%-git}
  make install DESTDIR="$pkgdir"
}

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