Date: Tuesday, September 6, 2022 @ 12:36:17 Author: eworm Revision: 1294435
upgpkg: atftp 0.8.0-1: new upstream release Modified: atftp/trunk/PKGBUILD ----------+ PKGBUILD | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-06 12:25:57 UTC (rev 1294434) +++ PKGBUILD 2022-09-06 12:36:17 UTC (rev 1294435) @@ -2,30 +2,36 @@ # Contributor: Johannes Löthberg <[email protected]> pkgname=atftp -pkgver=0.7.5 +pkgver=0.8.0 pkgrel=1 pkgdesc='Client/server implementation of the TFTP protocol that implements RFCs 1350, 2090, 2347, 2348, and 2349' arch=('x86_64') url='https://sourceforge.net/projects/atftp/' license=('GPL') -depends=('pcre' 'readline') +depends=('pcre2' 'readline') backup=('etc/conf.d/atftpd') -source=("https://downloads.sf.net/sourceforge/atftp/atftp-$pkgver.tar.gz" +source=("https://downloads.sf.net/sourceforge/atftp/atftp-${pkgver}.tar.gz" 'atftpd.service' 'atftpd.conf' 'sysusers.conf' 'tmpfiles.conf') -sha256sums=('93c87a4fb18218414e008e01c995dadd231ba4c752d0f894b34416d1e6d3038a' +sha256sums=('71c1ea50375049e696282b2a2ba5b069c648afb4cbf11f187e1119a341001880' '74a030f0fb48e97470d59d767039e44d28cbd6c4722621207684220210b8fa65' '0b28125099ffdd6869c6fbcb3167e93ccd71a0c6e465b1b62c7dedf9f628dd4e' 'e56f601bcdf0d64bf98813cd4a1be323541e33921c7d4f350168f62b56e66d11' '2096272445c736ba05529af628cc2d46d0236c8f1ecbd50bb1db6dc6c4a972c5') +prepare() { + cd "atftp-${pkgver}/" + + sed -i "/AC_INIT/s/0.7.5/${pkgver}/" configure.ac + + autoreconf -fi +} + build() { - cd atftp-$pkgver + cd "atftp-${pkgver}/" - CFLAGS+=' -std=gnu89' - ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ @@ -36,7 +42,7 @@ } package() { - cd atftp-$pkgver + cd "atftp-${pkgver}/" make DESTDIR="$pkgdir" install
