[arch-commits] Commit in tnftp/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed May 12 23:46:08 UTC 2021
Date: Wednesday, May 12, 2021 @ 23:46:08
Author: anthraxx
Revision: 932874
upgpkg: tnftp 20200705-1
Modified:
tnftp/trunk/PKGBUILD
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++--------------
1 file changed, 29 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-12 23:36:21 UTC (rev 932873)
+++ PKGBUILD 2021-05-12 23:46:08 UTC (rev 932874)
@@ -1,26 +1,41 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Previous Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
+# Contributor: Baptiste Daroussin <baptiste.daroussin at gmail.com>
pkgname=tnftp
-pkgver=20151004
-pkgrel=4
-pkgdesc="NetBSD FTP client with several advanced features"
+pkgver=20200705
+pkgrel=1
+pkgdesc='NetBSD FTP client with several advanced features'
+url='ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/'
arch=('x86_64')
-url="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
license=('BSD')
-depends=('ncurses' 'dante' 'openssl')
-source=(ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/$pkgname-$pkgver.tar.gz)
-md5sums=('a49fbe752318d5a7893f900046ea00d5')
+depends=('glibc' 'ncurses' 'libncursesw.so' 'dante' 'openssl')
+source=(ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/$pkgname-$pkgver.tar.gz{,.asc})
+sha256sums=('ba4a92b693d04179664524eef0801c8eed4447941c9855f377f98f119f221c03'
+ 'SKIP')
+b2sums=('2d0909455725b43e8627b4fc9ce10e7e4e1ffc175d73ede304f071cea071f88075f156a0c7a2d5b1bc1b3f986e6502c35acd3b956787e6766a8ca765e3567af0'
+ 'SKIP')
+validpgpkeys=(
+ '2A8E22EDB07B5414548D8507A4186D9A7F332472' # Luke Mewburn <lukem at NetBSD.org>
+)
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --enable-editcomplete --enable-ssl
+ cd "${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --with-socks \
+ --enable-editcomplete \
+ --enable-ssl \
+ --enable-ipv6
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make install DESTDIR="$pkgdir"
- install -Dm755 COPYING "$pkgdir"/usr/share/licenses/${pkgname}/COPYING
+ cd "${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ install -Dm 755 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 ChangeLog INSTALL NEWS README THANKS todo -t "${pkgdir}/usr/share/doc/${pkgname}"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list