aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-08 13:50:48 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-12-27 13:53:13 +0200
commite92657156e029026da489eca29c5e194843d77a3 (patch)
tree0ccc69c47c33f8a60b90c145fcb172129711b01e
parente9734597b9f9d146c4291a5bf097c8dfff8be280 (diff)
downloadaports-e92657156e029026da489eca29c5e194843d77a3.tar.bz2
aports-e92657156e029026da489eca29c5e194843d77a3.tar.xz
unmaintained/wput: clean-up
-rw-r--r--unmaintained/wput/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/unmaintained/wput/APKBUILD b/unmaintained/wput/APKBUILD
index 3dc01c950e..72147f3503 100644
--- a/unmaintained/wput/APKBUILD
+++ b/unmaintained/wput/APKBUILD
@@ -2,23 +2,20 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=wput
pkgver=0.6.2
-pkgrel=2
+pkgrel=3
pkgdesc="A command line tool to upload files to FTP site"
url="http://wput.sourceforge.net/"
arch="all"
license="GPL2+"
-depends=""
-depends_dev=""
makedepends="gnutls-dev"
-install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz
$pkgname-destdir.patch"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
- cd "$_builddir"
+ cd "$builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -27,7 +24,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -38,7 +35,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}