summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25fcc711c56874f112e1e63165446b270c4938b9 (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
# Maintainer: fenrig <fenrig.linux at outlook.com>
pkgname=amxo-cg-git
pkgver=v0.2.3.r0.g02eee25
pkgrel=1
pkgdesc="ODL (Object Definition Language) Compiler/Generator"
arch=('any')
url="https://gitlab.com/soft.at.home/ambiorix/applications/amxo-cg.git"
license=('MIT')

depends=(
	'lib_amxc'
	'lib_amxd'
	'lib_amxo'
)
makedepends=(
)
provides=(
	'amxo-cg'
)
conflicts=(
	'amxo-cg'
)

gitbranch="master"

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