diff options
author | fenriglinux | 2020-11-04 22:18:32 +0100 |
---|---|---|
committer | fenriglinux | 2020-11-04 22:18:32 +0100 |
commit | ab9ffd28014c4a3a4053ea18372faf48420a7e95 (patch) | |
tree | 857cd7420f77372d09e281910a1cb3252a707705 /PKGBUILD | |
download | aur-ab9ffd28014c4a3a4053ea18372faf48420a7e95.tar.gz |
Initial drop of amxo-cg
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6d963a8c6b82 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: fenrig <fenrig.linux at outlook.com> +pkgname=amxo-cg-git +pkgver=v0.2.0.r0.ga65db64 +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 +} |