summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03ce3576ed807b1b57a183989903cf617a6ec9a9 (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
_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 
}