aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 22:02:51 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-14 05:13:32 +0000
commit7dd9a6f16cd18073e9cdbd3e8ae0d2d26bcd728b (patch)
treeee0f0ebab16d60633b50fa8f9716f065db76204f
parente7acfa2d1403d2c5db637e9e67403230f932ffbc (diff)
downloadaports-7dd9a6f16cd18073e9cdbd3e8ae0d2d26bcd728b.tar.gz
aports-7dd9a6f16cd18073e9cdbd3e8ae0d2d26bcd728b.tar.bz2
aports-7dd9a6f16cd18073e9cdbd3e8ae0d2d26bcd728b.tar.xz
main/ncftp: add missing -dev subpackage
-rw-r--r--main/ncftp/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/main/ncftp/APKBUILD b/main/ncftp/APKBUILD
index ac5d1684f6..3b85f4f37f 100644
--- a/main/ncftp/APKBUILD
+++ b/main/ncftp/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=ncftp
pkgver=3.2.6
-pkgrel=1
+pkgrel=2
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
arch="all"
@@ -9,13 +9,10 @@ options="!check" # No test suite.
license="ClArtistic"
makedepends="ncurses-dev"
source="https://dev.alpinelinux.org/archive/ncftp/ncftp-$pkgver-src.tar.xz"
-subpackages="$pkgname-doc $pkgname-bookmarks"
+subpackages="$pkgname-doc $pkgname-bookmarks $pkgname-dev"
-builddir="$srcdir/$pkgname-$pkgver"
-
-build () {
- cd "$builddir"
+build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,14 +28,14 @@ build () {
package() {
cd "$builddir"/libncftp
- make PREFIX="${pkgdir}"/usr soinstall
+ make PREFIX="$pkgdir"/usr soinstall
cd "$builddir"
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/