From a71e277f38d0082afd2bd9cce0777afa8294e3c1 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 10 Jan 2019 17:35:30 +0000 Subject: user/dtach: new package --- user/dtach/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/dtach/APKBUILD (limited to 'user/dtach') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2