diff options
author | ScrumpyJack <scrumpyjack@me.com> | 2014-11-05 17:12:35 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-11-06 00:12:34 +0100 |
commit | acdd5e37c44a53c66f34a54b4d87319aeafbc159 (patch) | |
tree | 09a92a3f7c81f8953888feaaea213d8dad902cea /main/dtach | |
parent | 920b10c0310c72e64527bd312ad4ec1c1b2b0704 (diff) | |
download | aports-acdd5e37c44a53c66f34a54b4d87319aeafbc159.tar.bz2 aports-acdd5e37c44a53c66f34a54b4d87319aeafbc159.tar.xz |
main/dtach: Changed source and moved install to package function
Diffstat (limited to 'main/dtach')
-rw-r--r-- | main/dtach/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/dtach/APKBUILD b/main/dtach/APKBUILD index 8ca74ae164..ae776613b0 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 |