first commit

This commit is contained in:
ngn
2024-08-11 02:17:03 +03:00
commit ee34792885
1404 changed files with 13564 additions and 0 deletions

3
src/newt/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/newt/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 0.52.23
First version

24
src/newt/pkg.sh Normal file
View File

@ -0,0 +1,24 @@
NAME="newt"
DESC="Library for color text mode, widget based user interfaces"
VERSION="0.52.23"
FILES=("https://releases.pagure.org/newt/newt-$VERSION.tar.gz")
HASHES=("70aefeff0f3e9444a69dbdae9a931442")
DEPENDS=("slang" "popt")
PACKAGE() {
tar xf $NAME-$VERSION.tar.gz
cd $NAME-$VERSION
sed -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
-e '/$(LIBNEWT):/,/rv/ s/^/#/' \
-e 's/$(LIBNEWT)/$(LIBNEWTSH)/g' \
-i Makefile.in
./configure --prefix=/usr \
--with-gpm-support \
--with-python=python3.11
make && make DESTDIR="$ROOTDIR" install
cd .. && rm -rf $NAME-$VERSION
}