diff options
author | Michal Krenek (Mikos) | 2017-04-06 21:51:36 +0200 |
---|---|---|
committer | Michal Krenek (Mikos) | 2017-04-06 21:51:36 +0200 |
commit | ae1133e169870f97b6ffa702758c52089f44c71e (patch) | |
tree | bfab722d8051061849595aeb089922600c5ebdcd | |
download | aur-ae1133e169870f97b6ffa702758c52089f44c71e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e6d383549fac --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +# Generated by mksrcinfo v8 +# Thu Apr 6 19:51:13 UTC 2017 +pkgbase = libosmocore-git + pkgdesc = Osmocom core library + pkgver = 0.9.6.r165.ff20641 + pkgrel = 1 + url = https://osmocom.org/projects/libosmocore/wiki/Libosmocore + arch = x86_64 + arch = i686 + license = GPL + makedepends = git + makedepends = autoconf + makedepends = automake + makedepends = make + makedepends = gcc + makedepends = libtool + makedepends = pkg-config + depends = pcsclite + provides = libosmocore + conflicts = libosmocore + source = git://git.osmocom.org/libosmocore.git + sha256sums = SKIP + +pkgname = libosmocore-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b37420856034 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Michal Krenek (Mikos) <m.krenek@gmail.com> +pkgname=libosmocore-git +pkgver=0.9.6.r165.ff20641 +pkgrel=1 +pkgdesc="Osmocom core library" +arch=('x86_64' 'i686') +url="https://osmocom.org/projects/libosmocore/wiki/Libosmocore" +license=('GPL') +depends=('pcsclite') +makedepends=('git' 'autoconf' 'automake' 'make' 'gcc' 'libtool' 'pkg-config') +conflicts=('libosmocore') +provides=('libosmocore') +source=("git://git.osmocom.org/libosmocore.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/${pkgname%-git}" + autoreconf -i + ./configure --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --datadir=/usr/share \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --docdir=/usr/share/doc/libosmocore \ + --libdir=/usr/lib/ + make +} + +package() { + cd "$srcdir/${pkgname%-git}" + make DESTDIR=$pkgdir install +} |