new: migrate more packages

This commit is contained in:
ngn 2024-07-29 00:01:35 +03:00
parent f02bc691c0
commit 0ffdf01794
6 changed files with 62 additions and 0 deletions

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

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

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

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

23
src/pinentry/pkg.sh Normal file
View File

@ -0,0 +1,23 @@
# general info
NAME="pinentry"
DESC="Small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner"
VERSION="1.3.1"
# required files
FILES=("https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-${VERSION}.tar.bz2")
HASHES=("bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902bce8c04")
# install and build depends
DEPENDS=("libassuan" "libgpg-error" "ncurses" "glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.bz2"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --enable-pinentry-tty
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

29
src/pkgconf/pkg.sh Normal file
View File

@ -0,0 +1,29 @@
# general info
NAME="pkgconf"
DESC="Package compiler and linker metadata toolkit"
VERSION="2.2.0"
# required files
FILES=("https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.2.0.tar.gz")
HASHES=("2c72cbf37b2d42a9fbf7ed8f0e5432a0b0925481f67995a21ecf77962a6000bc")
# install and build depends
DEPENDS=("glibc" "bash")
BUILD=("meson")
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${NAME}-${VERSION}"
autoreconf -i
./configure --prefix=/usr \
--disable-static \
--docdir="/usr/share/doc/pkgconf-${VERSION}"
make
make DESTDIR="${ROOTDIR}" install
ln -sv pkgconf "${ROOTDIR}/usr/bin/pkg-config"
ln -sv pkgconf.1 "${ROOTDIR}/usr/share/man/man1/pkg-config.1"
cd .. && rm -r "${NAME}-${NAME}-${VERSION}"
}