aboutsummaryrefslogtreecommitdiffstats
path: root/main/dtach/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dtach/APKBUILD')
-rw-r--r--main/dtach/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/dtach/APKBUILD b/main/dtach/APKBUILD
index 8ca74ae16..ae776613b 100644
--- a/main/dtach/APKBUILD
+++ b/main/dtach/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=dtach
pkgver=0.8
-pkgrel=3
+pkgrel=4
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"
+source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
subpackages="$pkgname-doc"
build() {
@@ -20,6 +20,11 @@ build() {
--prefix=/usr \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
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