blob: 2a7bebf71f201f0a56272f6b7df17f7d0396ba70 (
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
29
30
31
32
33
34
35
|
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=dtach
pkgver=0.9
pkgrel=1
pkgdesc="A program that emulates the detach feature of screen"
url="http://dtach.sourceforge.net"
arch="all"
license="GPL"
source="https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
cd "$builddir"
./dtach --help > /dev/null
}
package() {
cd "$builddir"
install -Dm755 dtach "$pkgdir"/usr/bin/dtach
install -Dm644 dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1
install -Dm644 README "$pkgdir"/usr/share/doc/dtach/README
}
sha512sums="28c13dc8c96c16b9c6153a3a11fdeb4a4bc72e84e1f2575043b047cd8e600a47232f29544ffd87d82e2575623ec2e999a26e23e9eac25ec81c7722bdf98cfb18 dtach-0.9.tar.gz"
|