diff options
author | Josef Miegl | 2019-02-07 21:46:33 +0100 |
---|---|---|
committer | Josef Miegl | 2019-02-07 21:46:33 +0100 |
commit | a92a4a6abdf47e995dba078f937776e7530ac2c5 (patch) | |
tree | 954783925512dd0239da0bd924ea77732b609342 | |
parent | 0bc9d82aa0781263dd70df48d8c531c57d1fb4db (diff) | |
download | aur-a92a4a6abdf47e995dba078f937776e7530ac2c5.tar.gz |
add makedepends, backup, style
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 25 insertions, 16 deletions
@@ -1,10 +1,15 @@ pkgbase = osmo-sgsn-git - pkgdesc = OsmoSGSN is an Open Source implementation of a SGSN (Serving GPRS Support Node). + pkgdesc = Open Source implementation of a SGSN (Serving GPRS Support Node) pkgver = 1.4.0 pkgrel = 1 url = https://osmocom.org/projects/osmosgsn - arch = any + arch = i686 + arch = x86_64 + arch = aarch64 + arch = armv7h license = GPL + makedepends = git + makedepends = talloc depends = libosmocore depends = osmo-ggsn depends = osmo-iuh @@ -12,7 +17,8 @@ pkgbase = osmo-sgsn-git depends = c-ares provides = osmo-sgsn conflicts = osmo-sgsn - source = git://git.osmocom.org/osmo-sgsn + backup = etc/osmocom/osmo-sgsn.cfg + source = git+https://git.osmocom.org/osmo-sgsn sha256sums = SKIP pkgname = osmo-sgsn-git @@ -1,32 +1,35 @@ # Maintainer: Josef Miegl <josef@miegl.cz> pkgname=osmo-sgsn-git -_pkgname=osmo-sgsn -provides=("${_pkgname}") -conflicts=("${_pkgname}") pkgver=1.4.0 pkgrel=1 -pkgdesc="OsmoSGSN is an Open Source implementation of a SGSN (Serving GPRS Support Node)." +pkgdesc="Open Source implementation of a SGSN (Serving GPRS Support Node)" url="https://osmocom.org/projects/osmosgsn" -arch=('any') +arch=('i686' 'x86_64' 'aarch64' 'armv7h') license=(GPL) depends=('libosmocore' 'osmo-ggsn' 'osmo-iuh' 'libasn1c' 'c-ares') -source=("git://git.osmocom.org/${_pkgname}") +makedepends=('git' 'talloc') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +backup=('etc/osmocom/osmo-sgsn.cfg') +source=("git+https://git.osmocom.org/${pkgname%-git}") sha256sums=('SKIP') pkgver() { - cd $_pkgname + cd "${srcdir}/${pkgname%-git}" echo $(git describe --always | sed 's/-/./g') } build() { - cd "${srcdir}/${_pkgname}" - autoreconf -i - ./configure --prefix=/usr --enable-iu - make + cd "${srcdir}/${pkgname%-git}" + autoreconf -i + ./configure --prefix=/usr --sysconfdir=/etc --enable-iu + make } package() { - cd "${srcdir}/${_pkgname}" - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname%-git}" + make DESTDIR=${pkgdir} install } + +# vim:set ts=2 sw=2 et: |