aboutsummaryrefslogtreecommitdiffstats
path: root/main/ncftp
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 12:55:03 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-12 14:32:34 +0000
commit1f3ad5508741a1374b1e3898d631458aa0fabcfb (patch)
tree0cc18dfa4935e3c6dc05af3b89f388b03f343152 /main/ncftp
parent911ef64ed75c7dc7e98147bab6e874882efdc115 (diff)
downloadaports-1f3ad5508741a1374b1e3898d631458aa0fabcfb.tar.bz2
aports-1f3ad5508741a1374b1e3898d631458aa0fabcfb.tar.xz
main/ncftp: modernse, mark no tests, fix license
Diffstat (limited to 'main/ncftp')
-rw-r--r--main/ncftp/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/main/ncftp/APKBUILD b/main/ncftp/APKBUILD
index 4a1f21a967..a142c511dd 100644
--- a/main/ncftp/APKBUILD
+++ b/main/ncftp/APKBUILD
@@ -5,7 +5,8 @@ pkgrel=1
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
arch="all"
-license="custom"
+options="!check" # No test suite.
+license="ClArtistic"
makedepends="ncurses-dev"
source="http://dev.alpinelinux.org/archive/ncftp/ncftp-$pkgver-src.tar.xz"
subpackages="$pkgname-doc $pkgname-bookmarks"
@@ -13,35 +14,34 @@ subpackages="$pkgname-doc $pkgname-bookmarks"
builddir="$srcdir/$pkgname-$pkgver"
build () {
- cd "$builddir" || return 1
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man \
- || return 1
+ --mandir=/usr/share/man
cd "$builddir"/libncftp
- make shared || return 1
- cd "$builddir" || return 1
- make || return 1
+ make shared
+ cd "$builddir"
+ make
}
package() {
cd "$builddir"/libncftp
- make PREFIX="${pkgdir}"/usr soinstall || return 1
- cd "$builddir" || return 1
- make DESTDIR="$pkgdir" install || return 1
+ make PREFIX="${pkgdir}"/usr soinstall
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
install -D doc/LICENSE.txt \
- "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE || return 1
+ "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
bookmarks () {
- mkdir -p "$subpkgdir"/usr/bin || return 1
+ mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/ncftpbookmarks \
- "$subpkgdir"/usr/bin/ || return 1
+ "$subpkgdir"/usr/bin/
}
sha512sums="8e6091ce2ea1eb463edea322d1b5dde813475fd22096d67f0bfd2f5101ae09747ff25d38816d0b9b1077e6a5a256078361691f816aa2eefa38638aa523b4b382 ncftp-3.2.6-src.tar.xz"