blob: 5ee0640e104d8d782f1c4a744039ec5cd288f293 (
plain)
1 # Description: a programming library for color text mode
2 # URL: https://pagure.io/newt
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: slang popt python3
5
6 name=libnewt
7 version=0.52.22
8 release=1
9 source=(https://releases.pagure.org/newt/newt-$version.tar.gz)
10 git=(https://pagure.io/newt.git)
11
12 build() {
13 cd newt-$version
14
15 ./autogen.sh
16 ./configure --prefix=/usr --disable-nls
17
18 make
19 make DESTDIR=$PKG install
20 rm -r $PKG/usr/share/locale
21
22 # with python2 around, it populates this weird path
23 rm -r $PKG/usr/lib/usr || true
24 }
|