# Maintainer: Vadim Yanitskiy # Contributor: Josef Miegl pkgname=osmo-hlr-git pkgver=1.7.0.r8.gac1365fd pkgrel=1 pkgdesc="Osmocom HLR for GSUP protocol towards OsmoSGSN and OsmoCSCN" url="https://osmocom.org/projects/osmo-hlr" arch=('i686' 'x86_64' 'aarch64' 'armv7h') license=(GPL) depends=('libosmocore' 'libosmo-abis' 'talloc' 'sqlite') makedepends=('git') provides=('libosmo-gsup-client.so=0-64' 'libosmo-mslookup.so=1-64') conflicts=("${pkgname%-git}") backup=('etc/osmocom/osmo-hlr.cfg') source=("git+https://gitea.osmocom.org/cellular-infrastructure/${pkgname%-git}.git") sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd "${pkgname%-git}" autoreconf -f -i } build() { cd "${pkgname%-git}" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var make } package() { cd "${pkgname%-git}" make DESTDIR=${pkgdir} install } # vim:set ts=2 sw=2 et: