summaryrefslogtreecommitdiffstats
path: root/main/dtach/APKBUILD
blob: 8ca74ae1647dd8b5d8e44903cf11c40a8898184e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=dtach
pkgver=0.8
pkgrel=3
pkgdesc="A program that emulates the detach feature of screen"
url="http://dtach.sourceforge.net"
arch="all"
license='GPL'
depends=""
makedepends=""
source="http://surfnet.dl.sourceforge.net/sourceforge/dtach/dtach-0.8.tar.gz"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
	install -Dm755 "$srcdir"/dtach-0.8/dtach "$pkgdir"/usr/bin/dtach
	install -Dm644 "$srcdir"/dtach-0.8/dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1
	install -Dm644 "$srcdir"/dtach-0.8/README "$pkgdir"/usr/share/doc/README
}

md5sums="ec5999f3b6bb67da19754fcb2e5221f3  dtach-0.8.tar.gz"