diff options
-rw-r--r-- | pcr/libosmocore/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/libosmocore/PKGBUILD b/pcr/libosmocore/PKGBUILD new file mode 100644 index 000000000..beb59ab04 --- /dev/null +++ b/pcr/libosmocore/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer (AUR): Dominik Heidler <dominik@heidler.eu> + +pkgname=libosmocore +pkgver=1.0.1 +pkgrel=1 +pkgdesc="core libs for osmocom" +arch=('x86_64' 'i686') +url="http://bb.osmocom.org/trac/wiki/libosmocore" +license=('GPL') +groups=() +provides=() +depends=('pcsclite') +makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config' 'talloc') + +source=("git://git.osmocom.org/libosmocore.git#tag=$pkgver") +md5sums=('SKIP') + +build() { + cd "$srcdir/$pkgname" + + 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" + make DESTDIR=$pkgdir install +} |