diff options
author | FFY00 | 2018-06-09 17:15:49 +0100 |
---|---|---|
committer | FFY00 | 2018-06-09 17:15:49 +0100 |
commit | a60c421c7013545c936e0dcbe9dd57d2c02829df (patch) | |
tree | da95a2aa536e3069fd9609307db9f102493f3de8 | |
download | aur-a60c421c7013545c936e0dcbe9dd57d2c02829df.tar.gz |
pkgbuild: initial release
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..38f46869f1b2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = cellular-network-configs-git + pkgdesc = Configurations for using LimeSDR hardware with Osmocom and OpenAirInterface etc. + pkgver = r14.184f463 + pkgrel = 1 + url = https://github.com/myriadrf/cellular-network-configs + arch = any + license = Apache + makedepends = git + provides = cellular-network-configs + conflicts = cellular-network-configs + source = git+https://github.com/myriadrf/cellular-network-configs + sha256sums = SKIP + +pkgname = cellular-network-configs-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f6cfaba9a07b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Filipe LaĆns (FFY00) <filipe.lains@gmail.com> +pkgname=cellular-network-configs-git +pkgver=r14.184f463 +pkgrel=1 +pkgdesc="Configurations for using LimeSDR hardware with Osmocom and OpenAirInterface etc." +arch=(any) +url="https://github.com/myriadrf/cellular-network-configs" +license=('Apache') +makedepends=('git') +provides=('cellular-network-configs') +conflicts=('cellular-network-configs') +source=("git+$url") +sha256sums=('SKIP') + +pkgver() { + cd $srcdir/${pkgname%-git} + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + install -d -m644 $pkgdir/etc/${pkgname%-git}/osmocom + cp -dr --no-preserve=ownership $srcdir/${pkgname%-git}/osmocom $pkgdir/etc/${pkgname%-git}/osmocom +} |