diff --git a/src/pinentry/.gitignore b/src/pinentry/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pinentry/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pinentry/changes.md b/src/pinentry/changes.md new file mode 100644 index 0000000..b1840bc --- /dev/null +++ b/src/pinentry/changes.md @@ -0,0 +1,2 @@ +# 1.3.1 +First version diff --git a/src/pinentry/pkg.sh b/src/pinentry/pkg.sh new file mode 100644 index 0000000..1ffb566 --- /dev/null +++ b/src/pinentry/pkg.sh @@ -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}" +} diff --git a/src/pkgconf/.gitignore b/src/pkgconf/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pkgconf/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pkgconf/changes.md b/src/pkgconf/changes.md new file mode 100644 index 0000000..577f200 --- /dev/null +++ b/src/pkgconf/changes.md @@ -0,0 +1,2 @@ +# 2.1.1 +First version diff --git a/src/pkgconf/pkg.sh b/src/pkgconf/pkg.sh new file mode 100644 index 0000000..127b60d --- /dev/null +++ b/src/pkgconf/pkg.sh @@ -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}" +}