File PKGBUILD of Package Re6stnet

pkgname=re6st-node
pkgver=0.657+slapos1.g30e7680bc
pkgdesc="resilient, scalable, IPv6 network application"
pkgrel=1
arch=('x86_64' 'i686')
license=('GPL')
depends=(iptables iproute2)
makedepends=(python3)
install='re6stnet.install'
source=(${pkgname}_${pkgver}.tar.gz)

SKIPCHECKSUMS=1

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="$pkgdir" PREFIX=/usr install
	cd "$pkgdir/usr"
	mv ../lib .
	mv sbin/* bin
	rmdir sbin
}
openSUSE Build Service is sponsored by