diff options
author | Josef Miegl | 2019-02-06 18:21:43 +0100 |
---|---|---|
committer | Josef Miegl | 2019-02-06 18:21:43 +0100 |
commit | 296ff24600f0726f75d98b9037f6f14e67c34527 (patch) | |
tree | e39e1ef6c6cdaace3611a405e750c35906bf22c2 | |
download | aur-296ff24600f0726f75d98b9037f6f14e67c34527.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..98ecfe8bf56c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = osmo-msc-git + pkgdesc = New (2017) Osmocom Mobile Switching Center (MSC). + pkgver = 1.3.1.7.gc7de62cc + pkgrel = 1 + url = https://osmocom.org/projects/osmomsc/ + arch = any + license = GPL + depends = libosmocore + depends = libosmo-abis + depends = libosmo-netif + depends = libosmo-sccp + depends = osmo-mgw + depends = osmo-iuh + depends = libsmpp34 + depends = libasn1c + depends = libdbi + depends = libdbi-drivers + depends = openssl + provides = osmo-msc + conflicts = osmo-msc + source = git://git.osmocom.org/osmo-msc + sha256sums = SKIP + +pkgname = osmo-msc-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7aae33e868e6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Josef Miegl <josef@miegl.cz> + +pkgname=osmo-msc-git +_pkgname=osmo-msc +provides=("${_pkgname}") +conflicts=("${_pkgname}") +pkgver=1.3.1.7.gc7de62cc +pkgrel=1 +pkgdesc="New (2017) Osmocom Mobile Switching Center (MSC)." +url="https://osmocom.org/projects/osmomsc/" +arch=('any') +license=(GPL) +depends=('libosmocore' 'libosmo-abis' 'libosmo-netif' 'libosmo-sccp' 'osmo-mgw' 'osmo-iuh' 'libsmpp34' 'libasn1c' 'libdbi' 'libdbi-drivers' 'openssl') +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-iu --enable-smpp + make +} + +package() { + cd "${srcdir}/${_pkgname}" + make DESTDIR=${pkgdir} install +} |