33 lines
638 B
Bash
33 lines
638 B
Bash
#!/usr/bin/env bash
|
|
name='libpsl'
|
|
release='1'
|
|
version='0.21.1'
|
|
url='https://github.com/rockdaboot/libpsl'
|
|
description='C library for the Public Suffix List'
|
|
email='parduscix@yandex.ru'
|
|
maintainer='sulincix'
|
|
license=('GPLv3')
|
|
source=("https://github.com/rockdaboot/libpsl/releases/download/$version/libpsl-$version.tar.gz")
|
|
depends=(libidn2)
|
|
makedepends=( )
|
|
md5sums=('ad40b970dcb5117d559b62a1e0d8d827')
|
|
arch=('x86_64')
|
|
group=(net.libs)
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64 \
|
|
--default-library=both
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|