diff options
author | Dustin Falgout | 2016-01-10 22:24:20 -0600 |
---|---|---|
committer | Dustin Falgout | 2016-01-10 22:24:20 -0600 |
commit | c3d9ccff7b460f7609ed485f454c2994a89ef267 (patch) | |
tree | cedf1c8d06fc4252843d23d84974e6f016b56f30 /PKGBUILD | |
download | aur-c3d9ccff7b460f7609ed485f454c2994a89ef267.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7b3475aa6ac8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Dustin Falgout <dustin@antergos.com> + +pkgname=obs-service-set_version +_pkgver=0.5.3 +pkgver=${_pkgver}.r77 +pkgrel=1 +pkgdesc="Version Service for the OpenSUSE Build Service (OBS)" +arch=('any') +url="https://github.com/openSUSE/${pkgname}" +license=('GPL3') +source=("${pkgname}::git+https://github.com/openSUSE/${pkgname}.git") +groups=('obs') +depends=('obs-build' 'git' 'python2') +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "%s.r%s" "${_pkgver}" "$(git rev-list --count HEAD)" +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR=${pkgdir} PREFIX=/usr install +} |