aboutsummaryrefslogtreecommitdiffstats
path: root/main/putty
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-11 09:47:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-11 09:47:03 +0000
commita55b66a92fb0eec75fcc7d2794a0619dcdda961c (patch)
treeaf8691850dcecc8fef4720e56d6f1bb83ed9901e /main/putty
parent494d0c7b15ef7db570aa3146f6808e307f4b15ed (diff)
downloadaports-a55b66a92fb0eec75fcc7d2794a0619dcdda961c.tar.bz2
aports-a55b66a92fb0eec75fcc7d2794a0619dcdda961c.tar.xz
main/putty: clean up APKBUILD
Diffstat (limited to 'main/putty')
-rw-r--r--main/putty/APKBUILD13
1 files changed, 2 insertions, 11 deletions
diff --git a/main/putty/APKBUILD b/main/putty/APKBUILD
index 5270e1622e..ba3d455840 100644
--- a/main/putty/APKBUILD
+++ b/main/putty/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jeff Bilyk <jbilyk@alpinelinux.org>
pkgname=putty
pkgver=0.64
-pkgrel=0
+pkgrel=1
pkgdesc="SSH and telnet client"
url="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
arch="all"
@@ -13,7 +13,7 @@ install=""
subpackages="$pkgname-doc"
source="http://the.earth.li/~sgtatham/putty/latest/putty-$pkgver.tar.gz"
-_builddir="$srcdir"/putty-$pkgver/unix
+_builddir="$srcdir"/putty-$pkgver
prepare() {
local i
cd "$_builddir"
@@ -26,12 +26,6 @@ prepare() {
build() {
cd "$_builddir"
-
- # We only make all-cli, so no need to try to install these`
- sed -i 's#$(INSTALL_PROGRAM) -m 755 pterm $(DESTDIR)$(bindir)/pterm##' Makefile.in
- sed -i 's#$(INSTALL_PROGRAM) -m 755 putty $(DESTDIR)$(bindir)/putty##' Makefile.in
- sed -i 's#$(INSTALL_PROGRAM) -m 755 puttytel $(DESTDIR)$(bindir)/puttytel##' Makefile.in
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -42,10 +36,7 @@ build() {
package() {
cd "$_builddir"
- install -dm755 $pkgdir/usr/bin
- install -dm755 $pkgdir/usr/share/man/man1
make DESTDIR="$pkgdir" install || return 1
- install -D -m644 ../LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
md5sums="75ff711e8b7cc9e0073bc511e1c1c14a putty-0.64.tar.gz"