diff options
author | Josef Miegl | 2019-02-06 18:12:51 +0100 |
---|---|---|
committer | Josef Miegl | 2019-02-06 18:12:51 +0100 |
commit | db8b880bb3d93a324cc9a3e7f492e4e697728eaa (patch) | |
tree | 82d1d407311f268c4ad053669cb1fe1103af00dc | |
download | aur-db8b880bb3d93a324cc9a3e7f492e4e697728eaa.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..03181d8805f8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = osmo-bts-git + pkgdesc = OsmoBTS is an Open Source GSM BTS (Base Transceiver Station) with A-bis/IP interface. + pkgver = 0.8.1.205.g5c20563 + pkgrel = 1 + url = https://osmocom.org/projects/osmobts + arch = any + license = GPL + depends = libosmocore + depends = libosmo-abis + provides = osmo-bts + conflicts = osmo-bts + source = git://git.osmocom.org/osmo-bts + sha256sums = SKIP + +pkgname = osmo-bts-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..60ae6a600d57 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Josef Miegl <josef@miegl.cz> + +pkgname=osmo-bts-git +_pkgname=osmo-bts +provides=("${_pkgname}") +conflicts=("${_pkgname}") +pkgver=0.8.1.205.g5c20563 +pkgrel=1 +pkgdesc="OsmoBTS is an Open Source GSM BTS (Base Transceiver Station) with A-bis/IP interface." +url="https://osmocom.org/projects/osmobts" +arch=('any') +license=(GPL) +depends=('libosmocore' 'libosmo-abis') +source=("git://git.osmocom.org/${_pkgname}") +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd "${srcdir}/${_pkgname}" + autoreconf -i + ./configure --prefix=/usr --enable-trx + make +} + +package() { + cd "${srcdir}/${_pkgname}" + make DESTDIR=${pkgdir} install +} |