diff options
author | Josef Miegl | 2019-02-13 20:25:59 +0100 |
---|---|---|
committer | Josef Miegl | 2019-02-13 20:25:59 +0100 |
commit | 865feaa58aff8c8fa6c557f7a2809aa70212b2f1 (patch) | |
tree | d63cf54104b838090abba2c9028437a6cd8d4df4 /PKGBUILD | |
parent | 02a5f4ce7db6cb1f60c98385d9084fc94841efb3 (diff) | |
download | aur-865feaa58aff8c8fa6c557f7a2809aa70212b2f1.tar.gz |
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,13 +1,13 @@ # Maintainer: Josef Miegl <josef@miegl.cz> pkgname=osmo-bts-git -pkgver=0.8.1.205.g5c20563 +pkgver=0.8.1.r218.g3933e93 pkgrel=1 pkgdesc="Open Source GSM BTS (Base Transceiver Station) with A-bis/IP interface" url="https://osmocom.org/projects/osmobts" arch=('i686' 'x86_64' 'aarch64' 'armv7h') license=(GPL) -depends=('libosmocore' 'libosmo-abis' 'ortp') +depends=('libosmocore' 'talloc' 'libosmo-abis' 'ortp') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") @@ -16,19 +16,23 @@ source=("git+https://git.osmocom.org/${pkgname%-git}") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${pkgname%-git}" - echo $(git describe --always | sed 's/-/./g') + cd "${pkgname%-git}" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "${pkgname%-git}" + autoreconf -f -i } build() { - cd "${srcdir}/${pkgname%-git}" - autoreconf -i - ./configure --prefix=/usr --sysconfdir=/etc --enable-trx + cd "${pkgname%-git}" + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-trx make } package() { - cd "${srcdir}/${pkgname%-git}" + cd "${pkgname%-git}" make DESTDIR=${pkgdir} install } |