summaryrefslogtreecommitdiff
path: root/user/libpsl/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 21:38:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 21:38:57 +0000
commit8f8a0eb8788f35c1ca5db3730bcc10535934c05e (patch)
tree9fb43a334a0c10b0c9a7167fb056d56892684cf1 /user/libpsl/APKBUILD
parentad24c013617b1481d0830fafd0555f6a02cd199f (diff)
downloadpackages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.gz
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.bz2
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.xz
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.zip
user/*: Modernise / fix syntax / deps etc
Diffstat (limited to 'user/libpsl/APKBUILD')
-rw-r--r--user/libpsl/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/user/libpsl/APKBUILD b/user/libpsl/APKBUILD
index 08c8fccf4..66d49e293 100644
--- a/user/libpsl/APKBUILD
+++ b/user/libpsl/APKBUILD
@@ -7,13 +7,14 @@ pkgdesc="C library for examining the Public Suffix List"
url="https://rockdaboot.github.io/libpsl"
arch="all"
license="MIT AND BSD-3-Clause"
+depends=""
makedepends="python3 libidn2-dev libunistring-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/rockdaboot/libpsl/releases/download/libpsl-$pkgver/libpsl-$pkgver.tar.gz
- use-python3.patch"
+ use-python3.patch
+ "
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -25,12 +26,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}