diff options
author | fenriglinux | 2020-11-04 21:55:45 +0100 |
---|---|---|
committer | fenriglinux | 2020-11-04 21:55:45 +0100 |
commit | 10368aa951698904fb8f83dc9c2b3bf337cb9a87 (patch) | |
tree | 34498b4952af31a6d42559a350e02685c5a69e81 | |
download | aur-10368aa951698904fb8f83dc9c2b3bf337cb9a87.tar.gz |
Initial drop of lib_amxo-git
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d3ceb3b8a21f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = lib_amxo-git + pkgdesc = Generic C-implementation for ODL (Object Definition Language) + pkgver = v0.5.0.r0.g8da041d + pkgrel = 1 + url = https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo.git + arch = any + license = MIT + depends = lib_amxc + depends = lib_amxp + depends = lib_amxd + provides = lib_amxo + conflicts = lib_amxo + source = lib_amxo-git::git+https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo.git#branch=master + md5sums = SKIP + +pkgname = lib_amxo-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4214548ef9e9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: fenrig <fenrig.linux at outlook.com> +pkgname=lib_amxo-git +pkgver=v0.5.0.r0.g8da041d +pkgrel=1 +pkgdesc="Generic C-implementation for ODL (Object Definition Language)" +arch=('any') +url="https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo.git" +license=('MIT') + +depends=( + 'lib_amxc' + 'lib_amxp' + 'lib_amxd' +) +makedepends=( +) +provides=( + 'lib_amxo' +) +conflicts=( + 'lib_amxo' +) + +gitbranch="master" + +source=("${pkgname}::git+https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo.git#branch=${gitbranch}") +md5sums=('SKIP') + +pkgver() { + cd "${pkgname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + # fix absolute value error + export CFLAGS+=" -Wno-error=absolute-value" + cd "${pkgname}" + make +} + +package() { + cd "${pkgname}" + make DEST="${pkgdir}/" INSTALL_LIB_DIR="/lib" install +} |