pkgname: newt pkgver: '0.52.25' pkgrel: '1' pkgdesc: Library for color text mode, widget based user interfaces. url: 'https://paagure.io/newt' arch: x86_64 license: - GPL-2.0-only depends: [] makedepends: - popt - slang source: - 'https://deb.debian.org/debian/pool/main/n/newt/newt_${pkgver}.orig.tar.xz' sha256sums: - 93221ec1f76c824eef797f396559d70655a5f9ed9aa57166a906857789c62bd2 build: | cd ${pkgname}-${pkgver} sed -e 's/^LIBNEWT =/#&/' \ -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \ -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \ -i Makefile.in ./configure --prefix=/usr --with-gpm-support && make make DESTDIR=${PKGDIR} install package: | true