aboutsummaryrefslogtreecommitdiffstats
path: root/main/dtach/APKBUILD
blob: 46cc03515dc56febf81699a3f9cfb933c15c7e5d (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@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 --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"