diff options
author | Lucien | 2018-08-28 05:15:53 +0200 |
---|---|---|
committer | Lucien | 2018-08-28 05:15:53 +0200 |
commit | da4217cd89911d11224bd2872a3af1ad90fb7aab (patch) | |
tree | c8f7faca5338cab3af2f19239a5f0efeb7e68de8 /PKGBUILD | |
download | aur-da4217cd89911d11224bd2872a3af1ad90fb7aab.tar.gz |
ibr dtn tools
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7dfffad2badd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Lucien LOISEAU (Marlinski) <marlinski@disruptedsystems.org> + +pkgname=dtn-tools +pkgver=1.0.0 +pkgrel=1 +pkgdesc='IBR-DTN - A modular and lightweight implementation of the bundle protocol' +arch=('i686' 'x86_64') +url='https://github.com/ibrdtn/ibrdtn' +license=('Apache License 2.0') +depends=(dtnd ibrdtn ibrcommon) +makedepends=(git binutils gcc libtool cppunit automake autoconf pkgconf) +provides=(dtn-tools) + +source=(git://github.com/ibrdtn/ibrdtn.git) +sha512sums=('SKIP') + +prepare() { + cd ibrdtn +} + +build() { + cd ibrdtn/ibrdtn/tools + [ -f Makefile ] && make clean + bash autogen.sh + ./configure --prefix=/usr + make -j +} + +package() { + cd ibrdtn/ibrdtn/tools + make DESTDIR="$pkgdir" install + mv ${pkgdir}/usr/sbin/dtntunnel ${pkgdir}/usr/bin/dtntunnel + rmdir ${pkgdir}/usr/sbin +} |