summaryrefslogtreecommitdiff
path: root/user/dtach/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 17:35:30 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 17:35:30 +0000
commita71e277f38d0082afd2bd9cce0777afa8294e3c1 (patch)
treec64fdc3a6871c76cdd7fe00ee365daf15f063a70 /user/dtach/APKBUILD
parent15eddd925db762657fae2131d3d9d33888760757 (diff)
downloadpackages-a71e277f38d0082afd2bd9cce0777afa8294e3c1.tar.gz
packages-a71e277f38d0082afd2bd9cce0777afa8294e3c1.tar.bz2
packages-a71e277f38d0082afd2bd9cce0777afa8294e3c1.tar.xz
packages-a71e277f38d0082afd2bd9cce0777afa8294e3c1.zip
user/dtach: new package
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"