summaryrefslogblamecommitdiff
path: root/user/dtach/APKBUILD
blob: d945029285cbac29c87bed9e1a9406ef93170a01 (plain) (tree)
































                                                                                                                                                               
# 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"