commit 6610e1ba1526ada0d6149fc9abeb856643ac343f Author: xhaa123 Date: Sun Nov 3 21:08:07 2024 +0800 libpsl 0.21.5-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..95c5813 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libpsl +pkgver=0.21.5 +pkgrel=1 +pkgdesc="Public Suffix List library" +arch=('x86_64') +url="https://github.com/rockdaboot/libpsl" +license=('MIT') +depends=('libidn2' 'libunistring') +makedepends=('meson' 'python') +source=(https://github.com/rockdaboot/libpsl/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=(1dcc9ceae8b128f3c0b3f654decd0e1e891afc6ff81098f227ef260449dae208) + +build() { + cd ${pkgname}-${pkgver} + + ${FUTURE_MESON} + + meson compile -C build +} + +package() { + cd ${pkgname}-${pkgver} + + meson install -C build --destdir ${pkgdir} +}