Subject: [alpine-aports] [PATCH] testing/btpd: new aport

From: Cág <[email-masked]>
Date: Wed, 04 Apr 2018 13:53:54 +0000

---
 testing/btpd/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/btpd/APKBUILD

diff --git a/testing/btpd/APKBUILD b/testing/btpd/APKBUILD
new file mode 100644
index 0000000000..37363138eb
--- /dev/null
+++ b/testing/btpd/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Cág <[email-masked]>
+# Maintainer: Cág <[email-masked]>
+pkgname=btpd
+pkgver=0.16
+pkgrel=0
+pkgdesc="The BitTorrent Protocol Daemon"
+url="https://github.com/btpd/btpd"
+arch="all"
+license="BSD-2-Clause BSD-3-Clause"
+depends=""
+makedepends="autoconf automake libressl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	autoreconf -vif
+	./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"
-- 
2.16.3

--
caóc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---