Commit 1f3ad550 authored by A. Wilcox's avatar A. Wilcox Committed by Ariadne Conill

main/ncftp: modernse, mark no tests, fix license

parent 911ef64e
......@@ -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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment