# Contributor: Cág # Maintainer pkgname=btpd pkgver=0.16 pkgrel=2 pkgdesc="The BitTorrent Protocol Daemon" url="https://github.com/btpd/btpd" arch="all" license="BSD-2-Clause BSD-3-Clause" depends="" makedepends="autoconf automake openssl-dev>3" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" prepare() { default_prepare autoreconf -vif } build() { cd "$builddir" ./configure --prefix=/usr make } package() { cd "$builddir" make DESTDIR="$pkgdir/" install install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT } sha512sums="90d7574dec98649fb03973ca802f9ab3f0c43ac42761db2eb22146c985f2a43825ff6a5463d151950a8871ace9d73df2256eb926228ef4321b726c89ec3412f3 btpd-0.16.tar.gz"