summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 33dacb8cf392576e8ec0b7fb3cb264b039b774e3 (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.3.0.r0.g3e841ff
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
}