Commit bd577927 authored by Seblu's avatar Seblu
Browse files

Add a PKGBUILD to build current git tree

parent 26cafdad
# Maintainer: Sébastien Luttringer
pkgname=archversion-git
pkgver=$(date +%Y.%m.%d)
pkgrel=1
pkgdesc='Archlinux Version Controller (Git version)'
arch=('any')
url='https://github.com/seblu/archversion'
license=('GPL2')
depends=('python' 'pyalpm' 'python-xdg')
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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment