summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2754cd6003fb470a4429a128557b844844da3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Justin Dray <justin@dray.be>

pkgname=dmakepkg-git
pkgver=r16.177fd14
pkgrel=1
pkgdesc='Makepkg running from within docker for clean builds without maintaining a chroot'
arch=('any')
url="https://github.com/justin8/docker-makepkg"
license=('MIT')
depends=('docker')
options=(!emptydirs)
source=(git+https://github.com/justin8/docker-makepkg.git)
md5sums=('SKIP')

pkgver() {
	cd docker-makepkg
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -Dm755 "${srcdir}/docker-makepkg/dmakepkg" "${pkgdir}//usr/bin/dmakepkg"
}