new: migrated more packages

This commit is contained in:
ngn
2024-07-25 23:57:20 +03:00
parent a7dfd49ab5
commit 2b4d7c7d6e
43 changed files with 5843 additions and 0 deletions

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

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

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

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

26
src/libpsl/pkg.sh Normal file
View File

@ -0,0 +1,26 @@
# general info
NAME="libpsl"
DESC="C library for the Public Suffix List"
VERSION="0.21.5"
# required files
FILES=("https://github.com/rockdaboot/libpsl/releases/download/${VERSION}/libpsl-${VERSION}.tar.gz")
HASHES=("870a798ee9860b6e77896548428dba7b")
# install and build depends
DEPENDS=("libidn2" "libunistring")
BUILD=("python3" "libxslt")
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
mkdir build
cd build
meson setup --prefix=/usr --buildtype=release
ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r "${NAME}-${VERSION}"
}