libpsl/PKGBUILD
2024-11-03 21:08:07 +08:00

32 lines
890 B
Bash

# 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 <future_linux@163.com>
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}
}