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 /PKGBUILD | |
download | aur-db8b880bb3d93a324cc9a3e7f492e4e697728eaa.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |