diff options
46 files changed, 1163 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..779182e --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# Arch Linux Packages + +A collection of all the Arch Linux packages I maintain, currently AUR packages only. + +Should be identical to https://aur.archlinux.org/packages/?SeB=m&K=yuvadm + +Feel free to open issues/PRs in this repository for fixes to be merged into the AUR. + +## Usage + +The management of this repository is implemented using [git subtree](https://git.kernel.org/cgit/git/git.git/plain/contrib/subtree/git-subtree.txt) which allows all changes to be tracked in this single repo, as well as publish changes to each separate AUR package remote. + +Use the `pkg.sh` wrapper script to run the common commands: + +### Add New Package + +```bash +$ ./pkg.sh add pkgname +``` + +### Update Package + +Edit the relevant files in `aur/$pkgname` and then + +```bash +$ git commit -m "Bumped $pkgname to v1.2.3" +$ ./pkg.sh update pkgname +``` + +### Import Packages + +Many packages can be initially imported by running + +```bash +$ ./pkg.sh import pkgname1 pkgname2 pkgname3 +``` diff --git a/aur/bond-git/.SRCINFO b/aur/bond-git/.SRCINFO new file mode 100644 index 0000000..d216832 --- /dev/null +++ b/aur/bond-git/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = bond-git + pkgdesc = A cross-platform framework for working with schematized data + pkgver = 7a14f45 + pkgrel = 1 + url = https://github.com/microsoft/bond/ + arch = any + license = MIT + makedepends = cmake + makedepends = boost + makedepends = ghc + makedepends = cabal-install + makedepends = rapidjson-git + provides = bond + source = bond-git::git+https://github.com/microsoft/bond/ + sha1sums = SKIP + +pkgname = bond-git + diff --git a/aur/bond-git/PKGBUILD b/aur/bond-git/PKGBUILD new file mode 100644 index 0000000..a918889 --- /dev/null +++ b/aur/bond-git/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=bond-git +pkgver=7a14f45 +pkgrel=1 +pkgdesc="A cross-platform framework for working with schematized data" +arch=('any') +url="https://github.com/microsoft/bond/" +license=(MIT) +depends=('') +makedepends=('cmake' 'boost' 'ghc' 'cabal-install' 'rapidjson-git') +provides=('bond') +source=("$pkgname::git+$url") +sha1sums=('SKIP') + +pkgver() { + cd "$pkgname" + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd "$pkgname" + + # update cabal before we start + cabal update + + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$pkgname" + cd build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/coreclr-git/.SRCINFO b/aur/coreclr-git/.SRCINFO new file mode 100644 index 0000000..b932123 --- /dev/null +++ b/aur/coreclr-git/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = coreclr-git + pkgdesc = The .NET Core Runtime + pkgver = 32b981a + pkgrel = 1 + url = https://github.com/dotnet/coreclr + arch = x86_64 + license = MIT + makedepends = git + makedepends = cmake + makedepends = clang35 + makedepends = llvm35 + depends = icu + depends = lldb + depends = libunwind + depends = lttng-ust + optdepends = mono: for building mscorlib.dll + provides = coreclr + source = git+https://github.com/dotnet/coreclr + sha1sums = SKIP + +pkgname = coreclr-git + diff --git a/aur/coreclr-git/PKGBUILD b/aur/coreclr-git/PKGBUILD new file mode 100644 index 0000000..0dac5d7 --- /dev/null +++ b/aur/coreclr-git/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=coreclr-git +pkgver=32b981a +pkgrel=1 +pkgdesc="The .NET Core Runtime" +arch=('x86_64') +url="https://github.com/dotnet/coreclr" +license=(MIT) +depends=('icu' 'lldb' 'libunwind' 'lttng-ust') +makedepends=('git' 'cmake' 'clang35' 'llvm35') +optdepends=('mono: for building mscorlib.dll') +provides=('coreclr') +source=('git+https://github.com/dotnet/coreclr') +sha1sums=('SKIP') +_gitname=coreclr + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + ./build.sh +} + +package() { + install -Dm755 ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/corerun ${pkgdir}/usr/bin/corerun + install -d ${pkgdir}/usr/{lib,include} + install ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/*.so ${pkgdir}/usr/lib/ + install ${srcdir}/${_gitname}/bin/Product/Linux.x64.Debug/inc/*.h ${pkgdir}/usr/include/ +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/disque-git/.SRCINFO b/aur/disque-git/.SRCINFO new file mode 100644 index 0000000..0c58e95 --- /dev/null +++ b/aur/disque-git/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = disque-git + pkgdesc = Distributed message broker + pkgver = d01f47d + pkgrel = 2 + url = https://github.com/antirez/disque + arch = any + license = MIT + provides = disque + source = disque-git::git+https://github.com/antirez/disque + sha1sums = SKIP + +pkgname = disque-git + diff --git a/aur/disque-git/PKGBUILD b/aur/disque-git/PKGBUILD new file mode 100644 index 0000000..7c7ef30 --- /dev/null +++ b/aur/disque-git/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=disque-git +pkgver=d01f47d +pkgrel=2 +pkgdesc="Distributed message broker" +arch=('any') +url="https://github.com/antirez/disque" +license=(MIT) +provides=('disque') +source=("$pkgname::git+$url") +sha1sums=('SKIP') + +pkgver() { + cd "$pkgname" + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd "$pkgname" + make +} + +package() { + cd "$pkgname" + install -Dm644 ${srcdir}/${pkgname}/disque.conf ${pkgdir}/etc/disque/disque.conf + install -Dm755 ${srcdir}/${pkgname}/src/disque ${pkgdir}/usr/bin/disque + install -Dm755 ${srcdir}/${pkgname}/src/disque-server ${pkgdir}/usr/bin/disque-server +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/encryptr-bin/.SRCINFO b/aur/encryptr-bin/.SRCINFO new file mode 100644 index 0000000..85587ae --- /dev/null +++ b/aur/encryptr-bin/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = encryptr-bin + pkgdesc = Zero knowledge cloud-based password manager + pkgver = 1.2.0 + pkgrel = 1 + url = https://encryptr.org + arch = x86_64 + arch = i686 + license = GPL + source_x86_64 = https://github.com/devgeeks/Encryptr/releases/download/v1.2.0/encryptr_1.2.0_amd64.tar.gz + md5sums_x86_64 = 60e34294656a85a5193c9bc42afb0156 + source_i686 = https://github.com/devgeeks/Encryptr/releases/download/v1.2.0/encryptr_1.2.0_i386.tar.gz + +pkgname = encryptr-bin + diff --git a/aur/encryptr-bin/PKGBUILD b/aur/encryptr-bin/PKGBUILD new file mode 100644 index 0000000..926f436 --- /dev/null +++ b/aur/encryptr-bin/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=encryptr-bin +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Zero knowledge cloud-based password manager" +url="https://encryptr.org" +arch=('x86_64' 'i686') +license=('GPL') + +source_i686=("https://github.com/devgeeks/Encryptr/releases/download/v1.2.0/encryptr_1.2.0_i386.tar.gz") +ms5sums_i686=('96f481e95afc8ff6b8047744e8f969e7') + +source_x86_64=("https://github.com/devgeeks/Encryptr/releases/download/v1.2.0/encryptr_1.2.0_amd64.tar.gz") +md5sums_x86_64=('60e34294656a85a5193c9bc42afb0156') + +package() { + install -dm755 "${pkgdir}/opt" + cp --preserve=mode -r "${srcdir}/Encryptr" "${pkgdir}/opt/${pkgname}" +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/firestr-git/.SRCINFO b/aur/firestr-git/.SRCINFO new file mode 100644 index 0000000..7369aed --- /dev/null +++ b/aur/firestr-git/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = firestr-git + pkgdesc = The grass computing platform + pkgver = 7f47d2b + pkgrel = 1 + url = https://github.com/mempko/firestr + arch = any + license = GPL + makedepends = gcc + makedepends = qt5-base + makedepends = qt5-multimedia + makedepends = boost + makedepends = botan-1.10 + makedepends = opus + makedepends = snappy + makedepends = openssl + makedepends = gmp + provides = firestr + source = firestr-git::git+https://github.com/mempko/firestr + sha1sums = SKIP + +pkgname = firestr-git + diff --git a/aur/firestr-git/PKGBUILD b/aur/firestr-git/PKGBUILD new file mode 100644 index 0000000..753be8b --- /dev/null +++ b/aur/firestr-git/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=firestr-git +pkgver=7f47d2b +pkgrel=1 +pkgdesc="The grass computing platform" +arch=('any') +url="https://github.com/mempko/firestr" +license=(GPL) +makedepends=('gcc' 'qt5-base' 'qt5-multimedia' 'boost' 'botan-1.10' 'opus' 'snappy' 'openssl' 'gmp') +provides=('firestr') +source=("$pkgname::git+$url") +sha1sums=('SKIP') + +pkgver() { + cd "$pkgname" + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd "$pkgname" + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$pkgname" + cd build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/flightradar24/.SRCINFO b/aur/flightradar24/.SRCINFO new file mode 100644 index 0000000..7accafc --- /dev/null +++ b/aur/flightradar24/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = flightradar24 + pkgdesc = Feeder software for Flightradar24.com + pkgver = 1.0.13 + pkgrel = 5 + url = http://forum.flightradar24.com/threads/7563-Flightradar24-decoder-feeder-BETA-testing-%28Win-RPi-Linux-OSX%29 + install = flightradar24.install + arch = x86_64 + arch = i686 + arch = armv6h + arch = armv7h + license = unknown + depends = zlib + depends = gcc-libs + source = fr24feed.service + source = flightradar24.tmpfiles + source = flightradar24.sysusers + sha256sums = 42488de23b25a9f8c3586a1f834972d54ddb669867a27c641b55c718459a841d + sha256sums = 32f6f289efe8e3e303767239b2a276405b2d7c0fcbbde8ed9473ee6889b676ff + sha256sums = 7e5e1a28769559a2e2e1312894a1f9d315c4812bb34e2f1c45b2f877e4f4eeb0 + source_x86_64 = http://feed.flightradar24.com/linux/fr24feed_1.0.13-2_amd64.tgz + sha256sums_x86_64 = 71a43fd6de5e033af59ca989b85e7c724d3aace26eb11b629dab4088a3321f6c + source_i686 = http://feed.flightradar24.com/linux/fr24feed_1.0.13-2_i386.tgz + sha256sums_i686 = d5a59d2837a65334ab8ff760c749b4da5f721030f8b441dc28a5f4c20a56e2f9 + source_armv6h = http://feed.flightradar24.com/raspberry-pi/fr24feed_1.0.13-2_armv6l.tgz + sha256sums_armv6h = dddd8feaa5c603acf81ab00aca7dd71f4a4cec46c83cf02eaab050e1f67501ed + source_armv7h = http://feed.flightradar24.com/raspberry-pi/fr24feed_1.0.13-2_armv7l.tgz + sha256sums_armv7h = ab54ce2ff14bceca43e28bec387d0309f8e64fe7853a6cbc6a1cb85110696ef1 + +pkgname = flightradar24 + diff --git a/aur/flightradar24/PKGBUILD b/aur/flightradar24/PKGBUILD new file mode 100644 index 0000000..6ca1218 --- /dev/null +++ b/aur/flightradar24/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=flightradar24 +pkgver=1.0.13 +pkgrel=5 +pkgdesc="Feeder software for Flightradar24.com" +url="http://forum.flightradar24.com/threads/7563-Flightradar24-decoder-feeder-BETA-testing-%28Win-RPi-Linux-OSX%29" +arch=('x86_64' 'i686' 'armv6h' 'armv7h') +license=('unknown') +depends=('zlib' 'gcc-libs') +install=flightradar24.install + +source=(fr24feed.service flightradar24.tmpfiles flightradar24.sysusers) +sha256sums=( + '42488de23b25a9f8c3586a1f834972d54ddb669867a27c641b55c718459a841d' + '32f6f289efe8e3e303767239b2a276405b2d7c0fcbbde8ed9473ee6889b676ff' + '7e5e1a28769559a2e2e1312894a1f9d315c4812bb34e2f1c45b2f877e4f4eeb0' +) + +source_i686=("http://feed.flightradar24.com/linux/fr24feed_${pkgver}-2_i386.tgz") +sha256sums_i686=('d5a59d2837a65334ab8ff760c749b4da5f721030f8b441dc28a5f4c20a56e2f9') + +source_x86_64=("http://feed.flightradar24.com/linux/fr24feed_${pkgver}-2_amd64.tgz") +sha256sums_x86_64=('71a43fd6de5e033af59ca989b85e7c724d3aace26eb11b629dab4088a3321f6c') + +source_armv6h=("http://feed.flightradar24.com/raspberry-pi/fr24feed_${pkgver}-2_armv6l.tgz") +sha256sums_armv6h=('dddd8feaa5c603acf81ab00aca7dd71f4a4cec46c83cf02eaab050e1f67501ed') + +source_armv7h=("http://feed.flightradar24.com/raspberry-pi/fr24feed_${pkgver}-2_armv7l.tgz") +sha256sums_armv7h=('ab54ce2ff14bceca43e28bec387d0309f8e64fe7853a6cbc6a1cb85110696ef1') + +package() { + cd "$srcdir" + if [[ $CARCH = "i686" ]]; then + pushd fr24feed_i386 + elif [[ $CARCH = "x86_64" ]]; then + pushd fr24feed_amd64 + elif [[ $CARCH = "armv6h" ]]; then + pushd fr24feed_armv6l + elif [[ $CARCH = "armv7h" ]]; then + pushd fr24feed_armv7l + fi + + install -Dm755 fr24feed "$pkgdir/usr/bin/fr24feed" + install -Dm644 LICENSE.fr24feed "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" + popd + + install -Dm644 fr24feed.service "$pkgdir/usr/lib/systemd/system/fr24feed.service" + install -Dm644 flightradar24.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/flightradar24.conf" + install -Dm644 flightradar24.sysusers "$pkgdir/usr/lib/sysusers.d/flightradar24.conf" +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/flightradar24/flightradar24.install b/aur/flightradar24/flightradar24.install new file mode 100644 index 0000000..48bf60a --- /dev/null +++ b/aur/flightradar24/flightradar24.install @@ -0,0 +1,8 @@ +post_install() { + systemd-sysusers flightradar24.conf + systemd-tmpfiles --create flightradar24.conf + + echo "==> To signup and configure fr24feed, run" + echo "==> " + echo "==> sudo -u fr24 fr24feed --signup --config-file=/etc/fr24feed/fr24feed.ini" +} diff --git a/aur/flightradar24/flightradar24.sysusers b/aur/flightradar24/flightradar24.sysusers new file mode 100644 index 0000000..3407ca4 --- /dev/null +++ b/aur/flightradar24/flightradar24.sysusers @@ -0,0 +1 @@ +u fr24 - "FlightRadar24 Client" diff --git a/aur/flightradar24/flightradar24.tmpfiles b/aur/flightradar24/flightradar24.tmpfiles new file mode 100644 index 0000000..86f54a6 --- /dev/null +++ b/aur/flightradar24/flightradar24.tmpfiles @@ -0,0 +1,2 @@ +D /var/log/fr24feed 0755 fr24 fr24 - +D /etc/fr24feed 0755 fr24 fr24 - diff --git a/aur/flightradar24/fr24feed.service b/aur/flightradar24/fr24feed.service new file mode 100644 index 0000000..8b91c93 --- /dev/null +++ b/aur/flightradar24/fr24feed.service @@ -0,0 +1,16 @@ +[Unit] +Description=Flightradar24 decoder and feeder +After=network.target + +[Service] +Restart=on-failure +User=fr24feed +ProtectSystem=full +ProtectHome=true +RuntimeDirectory=fr24feed + +ExecStart=/usr/bin/fr24feed --config-file=/etc/fr24feed/fr24feed.ini --logfile=/var/log/fr24feed/fr24feed.log + +[Install] +WantedBy=network.target + diff --git a/aur/flynn-cli/.SRCINFO b/aur/flynn-cli/.SRCINFO new file mode 100644 index 0000000..9b5215c --- /dev/null +++ b/aur/flynn-cli/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = flynn-cli + pkgdesc = Flynn PaaS command-line interface + pkgver = 20150430.0 + pkgrel = 1 + url = https://flynn.io + arch = all + license = BSD + noextract = cli + source = https://dl.flynn.io/cli + md5sums = SKIP + +pkgname = flynn-cli + diff --git a/aur/flynn-cli/PKGBUILD b/aur/flynn-cli/PKGBUILD new file mode 100644 index 0000000..a3ffb7f --- /dev/null +++ b/aur/flynn-cli/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=flynn-cli +pkgver=20150430.0 +pkgrel=1 +pkgdesc="Flynn PaaS command-line interface" +url="https://flynn.io" +arch=('all') +license=(BSD) +source=("https://dl.flynn.io/cli") +noextract=('cli') +md5sums=('SKIP') + +prepare() { + zcat cli > flynn +} + +package() { + install -Dm755 "$srcdir/flynn" "$pkgdir/usr/bin/flynn" +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/frequensea-git/.SRCINFO b/aur/frequensea-git/.SRCINFO new file mode 100644 index 0000000..61fbb66 --- /dev/null +++ b/aur/frequensea-git/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = frequensea-git + pkgdesc = Visualizing the frequency spectrum + pkgver = 3707384 + pkgrel = 1 + url = https://github.com/fdb/frequensea/ + arch = any + license = MIT + depends = rtl-sdr + depends = glew + depends = glfw + depends = lua + depends = fftw + depends = libpng + depends = openal + provides = frequensea + source = git+https://github.com/fdb/frequensea/ + sha1sums = SKIP + +pkgname = frequensea-git + diff --git a/aur/frequensea-git/PKGBUILD b/aur/frequensea-git/PKGBUILD new file mode 100644 index 0000000..ee77076 --- /dev/null +++ b/aur/frequensea-git/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=frequensea-git +pkgver=3707384 +pkgrel=1 +pkgdesc="Visualizing the frequency spectrum" +arch=('any') +url="https://github.com/fdb/frequensea/" +license=(MIT) +depends=('rtl-sdr' 'glew' 'glfw' 'lua' 'fftw' 'libpng' 'openal') +provides=('frequensea') +source=('git+https://github.com/fdb/frequensea/') +sha1sums=('SKIP') +_gitname=frequensea + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + mkdir build + cd build + cmake .. + make +} + +package() { + install -Dm755 ${srcdir}/${_gitname}/build/frequensea ${pkgdir}/usr/bin/frequensea +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/gascop-git/.AURINFO b/aur/gascop-git/.AURINFO new file mode 100644 index 0000000..535425f --- /dev/null +++ b/aur/gascop-git/.AURINFO @@ -0,0 +1,14 @@ +pkgbase = gascop-git + pkgdesc = A lightweight POCSAG decoder for rtl-sdr devices + pkgver = b5af31c + pkgrel = 1 + url = https://github.com/yuvadm/gascop/ + arch = any + license = BSD + depends = rtl-sdr + provides = gascop + source = git+https://github.com/yuvadm/gascop/ + sha1sums = SKIP + +pkgname = gascop-git + diff --git a/aur/gascop-git/.SRCINFO b/aur/gascop-git/.SRCINFO new file mode 100644 index 0000000..535425f --- /dev/null +++ b/aur/gascop-git/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = gascop-git + pkgdesc = A lightweight POCSAG decoder for rtl-sdr devices + pkgver = b5af31c + pkgrel = 1 + url = https://github.com/yuvadm/gascop/ + arch = any + license = BSD + depends = rtl-sdr + provides = gascop + source = git+https://github.com/yuvadm/gascop/ + sha1sums = SKIP + +pkgname = gascop-git + diff --git a/aur/gascop-git/PKGBUILD b/aur/gascop-git/PKGBUILD new file mode 100644 index 0000000..e6a107e --- /dev/null +++ b/aur/gascop-git/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Yuval Adam <yuv dot adm at gmail dot com> PGP-Key: CC2115C12D99D2F0 + +pkgname=gascop-git +pkgver=b5af31c +pkgrel=1 +pkgdesc="A lightweight POCSAG decoder for rtl-sdr devices" +arch=('any') +url="https://github.com/yuvadm/gascop/" +license=(BSD) +depends=('rtl-sdr') +provides=('gascop') +source=('git+https://github.com/yuvadm/gascop/') +sha1sums=('SKIP') +_gitname=gascop + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + make +} + +package() { + install -Dm755 ${srcdir}/${_gitname}/gascop ${pkgdir}/usr/bin/gascop +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/go-ipfs-bin/.SRCINFO b/aur/go-ipfs-bin/.SRCINFO new file mode 100644 index 0000000..3f059b2 --- /dev/null +++ b/aur/go-ipfs-bin/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = go-ipfs-bin + pkgdesc = Global versioned P2P merkledag filesystem + pkgver = 0.3.8 + pkgrel = 1 + url = https://ipfs.io + arch = x86_64 + arch = i686 + license = MIT + provides = ipfs + source_x86_64 = https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_v0.3.8_linux-amd64.zip + sha256sums_x86_64 = bc8d3fe88d71f09daf9a3d915e15e9300d77f1086328de55cf7dd89efc8ec32a + source_i686 = https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_v0.3.8_linux-386.zip + sha256sums_i686 = f59a76083f9ddd2d4c8f2f752702c87c1292676eb148f316f92a70d7e497c2c7 + +pkgname = go-ipfs-bin + diff --git a/aur/go-ipfs-bin/PKGBUILD b/aur/go-ipfs-bin/PKGBUILD new file mode 100644 index 0000000..0c282e4 --- /dev/null +++ b/aur/go-ipfs-bin/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=go-ipfs-bin +pkgver=0.3.8 +pkgrel=1 +pkgdesc="Global versioned P2P merkledag filesystem" +url="https://ipfs.io" +arch=('x86_64' 'i686') +provides=('ipfs') +license=('MIT') + +source_i686=("https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_v${pkgver}_linux-386.zip") +sha256sums_i686=('f59a76083f9ddd2d4c8f2f752702c87c1292676eb148f316f92a70d7e497c2c7') + +source_x86_64=("https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_v${pkgver}_linux-amd64.zip") +sha256sums_x86_64=('bc8d3fe88d71f09daf9a3d915e15e9300d77f1086328de55cf7dd89efc8ec32a') + +package() { + install -Dm755 "${srcdir}/ipfs/ipfs" "${pkgdir}/usr/bin/ipfs" +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/gr-gsm-git/.SRCINFO b/aur/gr-gsm-git/.SRCINFO new file mode 100644 index 0000000..1de6c93 --- /dev/null +++ b/aur/gr-gsm-git/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = gr-gsm-git + pkgdesc = Gnuradio blocks and tools for receiving GSM transmissions + pkgver = 56b0a67 + pkgrel = 1 + url = https://github.com/ptrkrysik/gr-gsm + arch = any + license = unknown + makedepends = cmake + depends = gnuradio + depends = libosmocore + depends = boost + depends = swig + depends = log4cpp + depends = python2-scipy + provides = gr-gsm + source = git+https://github.com/ptrkrysik/gr-gsm + sha1sums = SKIP + +pkgname = gr-gsm-git + diff --git a/aur/gr-gsm-git/PKGBUILD b/aur/gr-gsm-git/PKGBUILD new file mode 100644 index 0000000..c9cfd63 --- /dev/null +++ b/aur/gr-gsm-git/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=gr-gsm-git +pkgver=56b0a67 +pkgrel=1 +pkgdesc="Gnuradio blocks and tools for receiving GSM transmissions" +arch=('any') +url="https://github.com/ptrkrysik/gr-gsm" +license=(unknown) +depends=('gnuradio' 'libosmocore' 'boost' 'swig' 'log4cpp' 'python2-scipy') +makedepends=('cmake') +provides=('gr-gsm') +source=('git+https://github.com/ptrkrysik/gr-gsm') +sha1sums=('SKIP') +_gitname=gr-gsm + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd $_gitname + cd build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/gr-op25-git/.SRCINFO b/aur/gr-op25-git/.SRCINFO new file mode 100644 index 0000000..3e868bc --- /dev/null +++ b/aur/gr-op25-git/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gr-op25-git + pkgdesc = Software-defined analyzer for APCO P25 signals + pkgver = 2051a96 + pkgrel = 1 + url = http://op25.osmocom.org/trac/wiki/ + arch = any + license = GPL + makedepends = cmake + depends = gnuradio + depends = boost + depends = libpcap + depends = gnuradio-osmosdr + depends = itpp + provides = gr-gsm + source = git://op25.osmocom.org/op25.git + sha1sums = SKIP + +pkgname = gr-op25-git + diff --git a/aur/gr-op25-git/PKGBUILD b/aur/gr-op25-git/PKGBUILD new file mode 100644 index 0000000..cc9ef32 --- /dev/null +++ b/aur/gr-op25-git/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=gr-op25-git +pkgver=2051a96 +pkgrel=1 +pkgdesc="Software-defined analyzer for APCO P25 signals" +arch=('any') +url="http://op25.osmocom.org/trac/wiki/" +license=('GPL') +depends=('gnuradio' 'boost' 'libpcap' 'gnuradio-osmosdr' 'itpp') +makedepends=('cmake') +provides=('gr-gsm') +source=('git://op25.osmocom.org/op25.git') +sha1sums=('SKIP') +_gitname=op25 + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd $_gitname + cd build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/honeybadger-git/.SRCINFO b/aur/honeybadger-git/.SRCINFO new file mode 100644 index 0000000..2036445 --- /dev/null +++ b/aur/honeybadger-git/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = honeybadger-git + pkgdesc = TCP attack inquisitor and 0-day catcher devices + pkgver = 0718a8f + pkgrel = 1 + url = http://github.com/david415/honeybadger + arch = any + license = GPL + makedepends = go + provides = honeybadger + source = git+https://github.com/david415/honeybadger + sha1sums = SKIP + +pkgname = honeybadger-git + diff --git a/aur/honeybadger-git/PKGBUILD b/aur/honeybadger-git/PKGBUILD new file mode 100644 index 0000000..ed66fb7 --- /dev/null +++ b/aur/honeybadger-git/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=honeybadger-git +pkgver=0718a8f +pkgrel=1 +pkgdesc="TCP attack inquisitor and 0-day catcher devices" +arch=('any') +url="http://github.com/david415/honeybadger" +license=(GPL) +makedepends=('go') +provides=('honeybadger') +source=('git+https://github.com/david415/honeybadger') +sha1sums=('SKIP') +_gitname=honeybadger + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + export GOPATH=$srcdir + mkdir -p "$GOPATH/src" + mv "$srcdir/$_gitname" "$GOPATH/src" + + cd "$GOPATH/src/$_gitname/cmd/honeyBadger" + go get -v ./... + go install -v + + cd "$GOPATH/src/$_gitname/cmd/sprayInjector" + go get -v ./... + go install -v + + cd "$GOPATH/src/$_gitname/cmd/handshakeHijacker" + go get -v ./... + go install -v +} + +package() { + install -Dm755 "$srcdir/bin/honeyBadger" "$pkgdir/usr/bin/honeyBadger" + install -Dm755 "$srcdir/bin/sprayInjector" "$pkgdir/usr/bin/sprayInjector" + install -Dm755 "$srcdir/bin/handshakeHijacker" "$pkgdir/usr/bin/handshakeHijacker" +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/icu-staticlibs/.SRCINFO b/aur/icu-staticlibs/.SRCINFO new file mode 100644 index 0000000..1b8fb4c --- /dev/null +++ b/aur/icu-staticlibs/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = icu-staticlibs + pkgdesc = International Components for Unicode library with staticlibs enabled + pkgver = 55.1 + pkgrel = 1 + url = http://www.icu-project.org/ + arch = i686 + arch = x86_64 + license = custom:icu + depends = gcc-libs>=4.7.1-5 + depends = sh + options = staticlibs + source = http://download.icu-project.org/files/icu4c/55.1/icu4c-55_1-src.tgz + source = icu.8198.revert.icu5431.patch + md5sums = e2d523df79d6cb7855c2fbe284f4db29 + md5sums = ebd5470fc969c75e52baf4af94a9ee82 + +pkgname = icu-staticlibs + diff --git a/aur/icu-staticlibs/PKGBUILD b/aur/icu-staticlibs/PKGBUILD new file mode 100644 index 0000000..21ccf19 --- /dev/null +++ b/aur/icu-staticlibs/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Art Gramlich <art@gramlich-net.com> + +pkgname=icu-staticlibs +pkgver=55.1 +pkgrel=1 +pkgdesc="International Components for Unicode library with staticlibs enabled" +arch=(i686 x86_64) +url="http://www.icu-project.org/" +license=('custom:icu') +depends=('gcc-libs>=4.7.1-5' 'sh') +options=(staticlibs) +#makedepends=('clang') +source=(#http://download.icu-project.org/files/icu4c/${pkgver}/icu4c-${pkgver/./_}-src.tgz + http://download.icu-project.org/files/icu4c/${pkgver}/icu4c-${pkgver//./_}-src.tgz + icu.8198.revert.icu5431.patch) +md5sums=('e2d523df79d6cb7855c2fbe284f4db29' + 'ebd5470fc969c75e52baf4af94a9ee82') + +prepare() { + cd icu/source + # fix Malayalam encoding https://bugzilla.redhat.com/show_bug.cgi?id=654200 + patch -Rp3 -i ${srcdir}/icu.8198.revert.icu5431.patch +} + +build() { + cd icu/source + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --sbindir=/usr/bin \ + --enable-static + make +} + +check() { + cd icu/source + make -k check # passes all +} + +package() { + cd icu/source + make -j1 DESTDIR=${pkgdir} install + + # Install license + install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html +} diff --git a/aur/icu-staticlibs/icu.8198.revert.icu5431.patch b/aur/icu-staticlibs/icu.8198.revert.icu5431.patch new file mode 100644 index 0000000..4c3e78b --- /dev/null +++ b/aur/icu-staticlibs/icu.8198.revert.icu5431.patch @@ -0,0 +1,129 @@ +Index: icu/trunk/source/layout/IndicReordering.cpp
+===================================================================
+--- icu/trunk/source/layout/IndicReordering.cpp (revision 25772)
++++ icu/trunk/source/layout/IndicReordering.cpp (revision 26090)
+@@ -126,4 +126,8 @@
+ FeatureMask fSMFeatures;
+
++ LEUnicode fPreBaseConsonant;
++ LEUnicode fPreBaseVirama;
++ le_int32 fPBCIndex;
++ FeatureMask fPBCFeatures;
+
+ void saveMatra(LEUnicode matra, le_int32 matraIndex, IndicClassTable::CharClass matraClass)
+@@ -172,5 +176,6 @@
+ fMatraFeatures(0), fMPreOutIndex(-1), fMPreFixups(mpreFixups),
+ fVMabove(0), fVMpost(0), fVMIndex(0), fVMFeatures(0),
+- fSMabove(0), fSMbelow(0), fSMIndex(0), fSMFeatures(0)
++ fSMabove(0), fSMbelow(0), fSMIndex(0), fSMFeatures(0),
++ fPreBaseConsonant(0), fPreBaseVirama(0), fPBCIndex(0), fPBCFeatures(0)
+ {
+ // nothing else to do...
+@@ -191,4 +196,6 @@
+ fVMabove = fVMpost = 0;
+ fSMabove = fSMbelow = 0;
++
++ fPreBaseConsonant = fPreBaseVirama = 0;
+ }
+
+@@ -386,4 +393,12 @@
+ }
+
++ void notePreBaseConsonant(le_uint32 index,LEUnicode PBConsonant, LEUnicode PBVirama, FeatureMask features)
++ {
++ fPBCIndex = index;
++ fPreBaseConsonant = PBConsonant;
++ fPreBaseVirama = PBVirama;
++ fPBCFeatures = features;
++ }
++
+ void noteBaseConsonant()
+ {
+@@ -465,4 +480,20 @@
+ }
+
++ void writePreBaseConsonant()
++ {
++ // The TDIL spec says that consonant + virama + RRA should produce a rakar in Malayalam. However,
++ // it seems that almost none of the fonts for Malayalam are set up to handle this.
++ // So, we're going to force the issue here by using the rakar as defined with RA in most fonts.
++
++ if (fPreBaseConsonant == 0x0d31) { // RRA
++ fPreBaseConsonant = 0x0d30; // RA
++ }
++
++ if (fPreBaseConsonant != 0) {
++ writeChar(fPreBaseConsonant, fPBCIndex, fPBCFeatures);
++ writeChar(fPreBaseVirama,fPBCIndex-1,fPBCFeatures);
++ }
++ }
++
+ le_int32 getOutputIndex()
+ {
+@@ -723,4 +754,5 @@
+ }
+
++
+ IndicClassTable::CharClass charClass = CC_RESERVED;
+ IndicClassTable::CharClass nextClass = CC_RESERVED;
+@@ -730,7 +762,9 @@
+ le_bool seenVattu = FALSE;
+ le_bool seenBelowBaseForm = FALSE;
++ le_bool seenPreBaseForm = FALSE;
+ le_bool hasNukta = FALSE;
+ le_bool hasBelowBaseForm = FALSE;
+ le_bool hasPostBaseForm = FALSE;
++ le_bool hasPreBaseForm = FALSE;
+
+ if (postBase < markStart && classTable->isNukta(chars[postBase])) {
+@@ -746,12 +780,20 @@
+ hasBelowBaseForm = IndicClassTable::hasBelowBaseForm(charClass) && !hasNukta;
+ hasPostBaseForm = IndicClassTable::hasPostBaseForm(charClass) && !hasNukta;
++ hasPreBaseForm = IndicClassTable::hasPreBaseForm(charClass) && !hasNukta;
+
+ if (IndicClassTable::isConsonant(charClass)) {
+ if (postBaseLimit == 0 || seenVattu ||
+ (baseConsonant > baseLimit && !classTable->isVirama(chars[baseConsonant - 1])) ||
+- !(hasBelowBaseForm || hasPostBaseForm)) {
++ !(hasBelowBaseForm || hasPostBaseForm || hasPreBaseForm)) {
+ break;
+ }
+
++ // Note any pre-base consonants
++ if ( baseConsonant == lastConsonant && lastConsonant > 0 &&
++ hasPreBaseForm && classTable->isVirama(chars[baseConsonant - 1])) {
++ output.notePreBaseConsonant(lastConsonant,chars[lastConsonant],chars[lastConsonant-1],tagArray2);
++ seenPreBaseForm = TRUE;
++
++ }
+ // consonants with nuktas are never vattus
+ seenVattu = IndicClassTable::isVattu(charClass) && !hasNukta;
+@@ -786,10 +828,12 @@
+
+ // write any pre-base consonants
++ output.writePreBaseConsonant();
++
+ le_bool supressVattu = TRUE;
+
+ for (i = baseLimit; i < baseConsonant; i += 1) {
+ LEUnicode ch = chars[i];
+- // Don't put 'blwf' on first consonant.
+- FeatureMask features = (i == baseLimit? tagArray2 : tagArray1);
++ // Don't put 'pstf' or 'blwf' on anything before the base consonant.
++ FeatureMask features = tagArray1 & ~( pstfFeatureMask | blwfFeatureMask );
+
+ charClass = classTable->getCharClass(ch);
+@@ -842,5 +886,5 @@
+
+ // write below-base consonants
+- if (baseConsonant != lastConsonant) {
++ if (baseConsonant != lastConsonant && !seenPreBaseForm) {
+ for (i = bcSpan + 1; i < postBase; i += 1) {
+ output.writeChar(chars[i], i, tagArray1);
+@@ -872,5 +916,5 @@
+ // write post-base consonants
+ // FIXME: does this put the right tags on post-base consonants?
+- if (baseConsonant != lastConsonant) {
++ if (baseConsonant != lastConsonant && !seenPreBaseForm) {
+ if (postBase <= lastConsonant) {
+ for (i = postBase; i <= lastConsonant; i += 1) {
diff --git a/aur/inspectrum/.SRCINFO b/aur/inspectrum/.SRCINFO new file mode 100644 index 0000000..9325458 --- /dev/null +++ b/aur/inspectrum/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = inspectrum + pkgdesc = SDR signal analyzer + pkgver = 0.1.1 + pkgrel = 1 + url = https://github.com/miek/inspectrum + arch = any + license = GPL + makedepends = cmake + makedepends = pkg-config + depends = qt5-base + depends = fftw + source = https://github.com/miek/inspectrum/archive/v0.1.1.tar.gz + sha256sums = b139cd7978f294d4872a1e3e70a813f4e9600f7677da5b9f6c431b3fa7f7e03e + +pkgname = inspectrum + diff --git a/aur/inspectrum/PKGBUILD b/aur/inspectrum/PKGBUILD new file mode 100644 index 0000000..0ca0e1c --- /dev/null +++ b/aur/inspectrum/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=inspectrum +pkgver=0.1.1 +pkgrel=1 +pkgdesc="SDR signal analyzer" +arch=('any') +url="https://github.com/miek/inspectrum" +license=(GPL) +depends=('qt5-base' 'fftw') +makedepends=('cmake' 'pkg-config') +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=("b139cd7978f294d4872a1e3e70a813f4e9600f7677da5b9f6c431b3fa7f7e03e") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/build" + make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/itpp/.SRCINFO b/aur/itpp/.SRCINFO new file mode 100644 index 0000000..1a84ba9 --- /dev/null +++ b/aur/itpp/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = itpp + pkgdesc = C++ library of mathematical, signal processing and communication routines + pkgver = 4.3.1 + pkgrel = 1 + url = http://itpp.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + depends = blas + depends = lapack + depends = fftw + depends = perl + source = http://downloads.sourceforge.net/project/itpp/itpp/4.3.1/itpp-4.3.1.tar.bz2 + md5sums = 94f3dac6df2bb829819d0aa99b501933 + +pkgname = itpp + diff --git a/aur/itpp/PKGBUILD b/aur/itpp/PKGBUILD new file mode 100644 index 0000000..1115660 --- /dev/null +++ b/aur/itpp/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F +# Contributor: Maxime de Roucy <maxime.deroucy@gmail.com> +# Contributor: Joel Schaerer <joel.schaerer@laposte.net> + +pkgname=itpp +pkgver=4.3.1 +pkgrel=1 +pkgdesc="C++ library of mathematical, signal processing and communication routines" +arch=('i686' 'x86_64') +url="http://itpp.sourceforge.net/" +license=('GPL') +depends=('blas' 'lapack' 'fftw' 'perl') +makedepends=('cmake') +source=("http://downloads.sourceforge.net/project/itpp/itpp/${pkgver}/itpp-${pkgver}.tar.bz2") +md5sums=('94f3dac6df2bb829819d0aa99b501933') + + +build() { + cd itpp-$pkgver + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "itpp-$pkgver/build" + make DESTDIR="$pkgdir" install +} diff --git a/aur/libosmo-abis/.SRCINFO b/aur/libosmo-abis/.SRCINFO new file mode 100644 index 0000000..fd95960 --- /dev/null +++ b/aur/libosmo-abis/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libosmo-abis + pkgdesc = Osmocom library for A-bis interface + pkgver = 0.3.2 + pkgrel = 1 + url = http://openbsc.osmocom.org/trac/wiki/libosmo-abis + arch = any + license = GPL + makedepends = git + depends = libosmocore + depends = ortp + source = git://git.osmocom.org/libosmo-abis.git#tag=v0.3.2 + sha256sums = SKIP + +pkgname = libosmo-abis + diff --git a/aur/libosmo-abis/PKGBUILD b/aur/libosmo-abis/PKGBUILD new file mode 100644 index 0000000..68523c1 --- /dev/null +++ b/aur/libosmo-abis/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=libosmo-abis +pkgver=0.3.2 +pkgrel=1 +pkgdesc="Osmocom library for A-bis interface" +arch=('any') +url="http://openbsc.osmocom.org/trac/wiki/libosmo-abis" +license=(GPL) +depends=('libosmocore' 'ortp') +makedepends=('git') +source=("git://git.osmocom.org/${pkgname}.git#tag=v${pkgver}") +sha256sums=("SKIP") + +build() { + cd "${srcdir}/${pkgname}" + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: diff --git a/aur/libosmo-netif/.SRCINFO b/aur/libosmo-netif/.SRCINFO new file mode 100644 index 0000000..8532626 --- /dev/null +++ b/aur/libosmo-netif/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libosmo-netif + pkgdesc = Osmocom library for muxed audio + pkgver = 0.0.4 + pkgrel = 1 + url = http://openbsc.osmocom.org + arch = any + license = GPL + makedepends = git + depends = libosmocore + depends = libosmo-abis + source = git://git.osmocom.org/libosmo-netif.git#tag=0.0.4 + sha256sums = SKIP + +pkgname = libosmo-netif + diff --git a/aur/libosmo-netif/PKGBUILD b/aur/libosmo-netif/PKGBUILD new file mode 100644 index 0000000..1647d49 --- /dev/null +++ b/aur/libosmo-netif/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=libosmo-netif +pkgver=0.0.4 +pkgrel=1 +pkgdesc="Osmocom library for muxed audio" +arch=('any') +url="http://openbsc.osmocom.org" +license=(GPL) +depends=('libosmocore' 'libosmo-abis') +makedepends=('git') +source=("git://git.osmocom.org/${pkgname}.git#tag=${pkgver}") +sha256sums=("SKIP") + +build() { + cd "${srcdir}/${pkgname}" + autoreconf -i + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}" + make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: diff --git a/.SRCINFO b/aur/libosmo-sccp/.SRCINFO index 41af7bb..41af7bb 100644 --- a/.SRCINFO +++ b/aur/libosmo-sccp/.SRCINFO diff --git a/PKGBUILD b/aur/libosmo-sccp/PKGBUILD index a04be53..a04be53 100644 --- a/PKGBUILD +++ b/aur/libosmo-sccp/PKGBUILD @@ -0,0 +1,45 @@ +usage() { + echo "" + echo "Usage: $0 <add|update> <pkgname>" + echo " $0 import <pkgname> [pkgname] ..." + echo "" + echo "This script wraps the typical AUR creation and update procedures" + echo "" + exit 1 +} + +add_pkg() { + local pkgname="$1" + [[ -z $pkgname ]] && usage + + git remote add -f $pkgname "ssh://aur@aur.archlinux.org/$pkgname.git" + git subtree add --prefix "aur/$pkgname" $pkgname master +} + +update_pkg() { + local pkgname="$1" + [[ -z $pkgname ]] && usage + + git subtree push --prefix "aur/$pkgname" $pkgname master +} + +import_pkgs() { + for pkgname in "$@" + do + add_pkg $pkgname + done +} + +case "$1" in + add) + add_pkg $2 + ;; + update) + update_pkg $2 + ;; + import) + import_pkgs "${@:2}" + ;; + *) + usage +esac |
