aboutsummaryrefslogtreecommitdiffstats
path: root/main/dtach/APKBUILD
blob: 9231d7fe3df89f49e678c3204ea9ea664eee6e06 (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
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=dtach
pkgver=0.8
pkgrel=1
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 --prefix=/usr
	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"