aboutsummaryrefslogtreecommitdiffstats
path: root/community/utf8proc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/utf8proc/APKBUILD')
-rw-r--r--community/utf8proc/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/community/utf8proc/APKBUILD b/community/utf8proc/APKBUILD
index ecacad12c2..5bc10722ce 100644
--- a/community/utf8proc/APKBUILD
+++ b/community/utf8proc/APKBUILD
@@ -1,35 +1,31 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=utf8proc
-pkgver=2.4.0
+pkgver=2.5.0
pkgrel=0
-pkgdesc="A clean C library for processing UTF-8 Unicode data"
+pkgdesc="Clean C library for processing UTF-8 Unicode data"
url="https://github.com/JuliaLang/utf8proc"
arch="all"
license="MIT custom"
subpackages="$pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/utf8proc/archive/v$pkgver.tar.gz
$pkgname.pc
"
-builddir="$srcdir/$pkgname-$pkgver"
options="!check" # testsuite has a dependency on Julia, which depends on this
prepare() {
- cd "$builddir"
sed "s/@VERSION@/$pkgver/" "$srcdir"/$pkgname.pc > $pkgname.pc
}
build() {
- cd "$builddir"
make
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" prefix=/usr install
- install -D $pkgname.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc
+ rm -f "$pkgdir"/usr/lib/*.a
+ ln -s libutf8proc.pc "$pkgdir"/usr/lib/pkgconfig/utf8proc.pc
}
-sha512sums="2bbd056b488cd30faca26618389d8af84edc39ade9b705e147b676bf39eee65b40239d01c32c46dfc2a289d79e869ed1bb3c347365603dcaab2f69e34427441a utf8proc-2.4.0.tar.gz
+sha512sums="0c553faf4f3841c17c7aa4cce1e917b1585c430ac3f7f240ab98cbe01b9743f2074532e6f71faf3df030f5af00e483a3faf9716a67e6a4b1bb66a3de48308014 utf8proc-2.5.0.tar.gz
95e6fe681b9bd35414c2e1b1948ab9eb37274cfbd9e7b970bc7685eb7e03155bd08781b48f3084a2c81440a54f12d4130ed19e06fe4fcc0f1e45d99f225636d7 utf8proc.pc"