summaryrefslogtreecommitdiff
path: root/user/dtach/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/dtach/APKBUILD')
-rw-r--r--user/dtach/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/dtach/APKBUILD b/user/dtach/APKBUILD
new file mode 100644
index 000000000..d94502928
--- /dev/null
+++ b/user/dtach/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=dtach
+pkgver=0.9
+pkgrel=0
+pkgdesc="Detach software from its controlling terminal"
+url=" "
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="dtach-$pkgver.tar.gz::https://github.com/crigler/dtach/archive/v$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ install -D -m755 "$builddir"/dtach "$pkgdir"/usr/bin/dtach
+ install -D -m644 "$builddir"/dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1
+}
+
+sha512sums="9df73f70598ac8267c2845c75074d2e43ecb8987bc1dd95ab41a8ce9847c25654f35d22d88ba141b42e23a59f063f7bc8037257b213ca25161269e149ec4e920 dtach-0.9.tar.gz"