summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c74052258746953f42797718b3f340e21a828e7 (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
# Maintainer: Dustin Falgout <dustin@antergos.com>

pkgname=obs-service-recompress-git
_pkgver=0.3.1
pkgver="${_pkgver}.r14"
pkgrel=1
pkgdesc="Compression Service for the OpenSUSE Build Service (OBS)"
arch=('any')
url="https://github.com/openSUSE/obs-service-recompress"
license=('GPL3')
source=("${pkgname}::git+https://github.com/openSUSE/${pkgname}.git")
groups=('obs')
depends=('obs-build' 'git')
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 
}