summaryrefslogtreecommitdiff
path: root/user/ncftp/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/ncftp/APKBUILD
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
Diffstat (limited to 'user/ncftp/APKBUILD')
-rw-r--r--user/ncftp/APKBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/user/ncftp/APKBUILD b/user/ncftp/APKBUILD
index 1a9b5fce4..dd1a31d21 100644
--- a/user/ncftp/APKBUILD
+++ b/user/ncftp/APKBUILD
@@ -8,13 +8,12 @@ url="http://www.ncftp.com/"
arch="all"
options="!check" # No test suite.
license="ClArtistic"
+depends=""
makedepends="ncurses-dev"
-source="ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.gz"
subpackages="$pkgname-doc $pkgname-bookmarks"
+source="ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.gz"
-build () {
- cd "$builddir"
-
+build() {
LIBS="-ltinfo" ./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,22 +21,18 @@ build () {
--sysconfdir=/etc \
--mandir=/usr/share/man
- cd "$builddir"/libncftp
- make shared
- cd "$builddir"
+ make -C libncftp shared
make
}
package() {
- cd "$builddir"/libncftp
- make PREFIX="${pkgdir}"/usr soinstall
- cd "$builddir"
+ make PREFIX="${pkgdir}"/usr -C libncftp soinstall
make DESTDIR="$pkgdir" install
install -D doc/LICENSE.txt \
"$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
-bookmarks () {
+bookmarks() {
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/ncftpbookmarks \
"$subpkgdir"/usr/bin/