2019-08-04 16:15:52 +02:00
|
|
|
# Description: a programming library for color text mode
|
|
|
|
# URL: https://pagure.io/newt
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-04-01 15:40:12 +00:00
|
|
|
# Depends on: slang popt python3
|
2019-08-04 16:15:52 +02:00
|
|
|
|
|
|
|
name=libnewt
|
|
|
|
version=0.52.21
|
2020-04-01 15:40:12 +00:00
|
|
|
release=2
|
2019-08-04 16:15:52 +02:00
|
|
|
source=(https://releases.pagure.org/newt/newt-$version.tar.gz)
|
|
|
|
git=(https://pagure.io/newt.git)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd newt-$version
|
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr --disable-nls
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2020-04-01 15:40:12 +00:00
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
# with python2 around, it populates this weird path
|
|
|
|
rm -r $PKG/usr/lib/usr || true
|
2019-08-04 16:15:52 +02:00
|
|
|
}
|