libpsl update
This commit is contained in:
1 parent
566bdde84d
commit
3355cd3354
1 file changed
+8
-13
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='libpsl'
|
name='libpsl'
|
||||||
release='1'
|
release='2'
|
||||||
version='0.21.1'
|
version='0.21.2'
|
||||||
url='https://github.com/rockdaboot/libpsl'
|
url='https://github.com/rockdaboot/libpsl'
|
||||||
description='C library for the Public Suffix List'
|
description='C library for the Public Suffix List'
|
||||||
email='parduscix@yandex.ru'
|
email='parduscix@yandex.ru'
|
||||||
@@ -10,29 +10,24 @@ license=('GPLv3')
|
|||||||
source=("https://github.com/rockdaboot/libpsl/releases/download/$version/libpsl-$version.tar.gz")
|
source=("https://github.com/rockdaboot/libpsl/releases/download/$version/libpsl-$version.tar.gz")
|
||||||
depends=(libidn2)
|
depends=(libidn2)
|
||||||
makedepends=(python)
|
makedepends=(python)
|
||||||
md5sums=('ad40b970dcb5117d559b62a1e0d8d827')
|
md5sums=('2864d3eb744b378d68f5c4da25603459')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
group=(net.libs)
|
group=(net.libs)
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
fprepare() {
|
|
||||||
rm -frv list
|
|
||||||
}
|
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
autoreconf -fiv
|
meson setup build --prefix=/usr \
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--libdir=/usr/lib64 \
|
--libdir=/usr/lib64 \
|
||||||
--enable-{builtin,runtime}=libidn2
|
-Druntime=libidn2 \
|
||||||
|
-Dbuiltin=true
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
make $jobs
|
ninja -C build $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
make install $jobs
|
ninja -C build install $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user