aboutsummaryrefslogtreecommitdiffstats
path: root/main/dtach/APKBUILD
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@me.com>2014-11-05 17:12:35 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-11-06 00:12:34 +0100
commitacdd5e37c44a53c66f34a54b4d87319aeafbc159 (patch)
tree09a92a3f7c81f8953888feaaea213d8dad902cea /main/dtach/APKBUILD
parent920b10c0310c72e64527bd312ad4ec1c1b2b0704 (diff)
downloadaports-acdd5e37c44a53c66f34a54b4d87319aeafbc159.tar.bz2
aports-acdd5e37c44a53c66f34a54b4d87319aeafbc159.tar.xz
main/dtach: Changed source and moved install to package function
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