summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf49996e6df58e31205ba34c6a43a18969495f9d (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
35
36
37
38
39
40
# Maintainer: fenrig <fenrig.linux at outlook.com>
pkgname=amxb-inspect-git
pkgver=v0.2.0.r0.gc4f1a64
pkgrel=1
pkgdesc="Ambiorix Backend inspector/validation tool"
arch=('any')
url="https://gitlab.com/soft.at.home/ambiorix/applications/amxb-inspect.git"
license=('MIT')

depends=(
	'lib_amxb'
)
makedepends=(
)
provides=(
	'amxb-inspect'
)
conflicts=(
	'amxb-inspect'
)

gitbranch="master"

source=("${pkgname}::git+https://gitlab.com/soft.at.home/ambiorix/applications/amxb-inspect.git#branch=${gitbranch}")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "${pkgname}"
	make
}

package() {
	cd "${pkgname}"
	make DEST="${pkgdir}/" install
}