summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e3f1b18d1521c3922c6bcab9e30d62db1f5ad5c (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
41
42
43
44
45
# Maintainer: fenrig <fenrig.linux at outlook.com>
pkgname=amxrt-git
pkgver=v0.2.1.r0.gae3c28c
pkgrel=1
pkgdesc="Ambiorix application runtime"
arch=('any')
url="https://gitlab.com/soft.at.home/ambiorix/applications/amxrt.git"
license=('MIT')

depends=(
	'libevent'
	'lib_amxc'
	'lib_amxp'
	'lib_amxd'
	'lib_amxb'
	'lib_amxo'
)
makedepends=(
)
provides=(
	'amxrt'
)
conflicts=(
	'amxrt'
)

gitbranch="master"

source=("${pkgname}::git+https://gitlab.com/soft.at.home/ambiorix/applications/amxrt.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
}