blob: 196d082c4c4215c0a32803a73624350d45b2912e (
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
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Matthias Fulz <mfulz at olznet dot de>
_pkgname=archbuilder
pkgname=archbuilder-git
pkgver=v0.9.4.r1.g29f32e4
pkgrel=1
pkgdesc='makepkg wrapper that uses buildah'
url='https://github.com/mfulz/archbuilder'
arch=('any')
source=(
'git+https://github.com/mfulz/archbuilder'
)
sha256sums=('SKIP')
conflicts=('archbuilder')
provides=("archbuilder=${pkgver%%.r*}")
depends=('buildah')
backup=(
'etc/archbuilder/archbuilder.env'
)
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {
cd "$_pkgname"
make
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir" install
}
|