* update libutf8proc to 2.10.0-1

This commit is contained in:
Alexander Baldeck 2025-02-04 15:38:52 +01:00
parent c8f2404cae
commit abe091bd7d
3 changed files with 35 additions and 10 deletions

21
libutf8proc/.SRCINFO Normal file
View File

@ -0,0 +1,21 @@
pkgbase = libutf8proc
pkgdesc = C library for processing UTF-8 encoded Unicode strings
pkgver = 2.10.0
pkgrel = 1
url = https://github.com/JuliaStrings/utf8proc
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = MIT
license = custom
makedepends = cmake
makedepends = git
depends = glibc
source = git+https://github.com/JuliaStrings/utf8proc#tag=v2.10.0
source = libutf8proc.pc.in
b2sums = 4afba1e73e6c80fb944c9796ab1a4809b21523afd82c18b40faf7440605481cea7e1711f5f93834e9683d541de6d16a09d30773aaf2e57a7f2b35c2845ea7955
b2sums = 27cfd2086b63b0d9b08720d966d760e4237734a85a293eab81065f49857aa11ed57682a4bd26e4081701d34e61c156170b65bbf38f19387539f5472d0d94db23
pkgname = libutf8proc

View File

@ -0,0 +1,4 @@
[libutf8proc]
source = "git"
git = "https://github.com/JuliaStrings/utf8proc.git"
prefix = "v"

View File

@ -2,17 +2,18 @@
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=libutf8proc
pkgver=2.9.0
_sover=3.0.0
pkgrel=1.1
pkgver=2.10.0
_sover=3.1.0
pkgrel=1
pkgdesc='C library for processing UTF-8 encoded Unicode strings'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/JuliaStrings/utf8proc'
license=(custom)
makedepends=(cmake git ninja)
source=("git+$url#commit=34db3f7954e9298e89f42641ac78e0450f80a70d" # tag: v2.9.0
license=(MIT custom)
depends=(glibc)
makedepends=(cmake git)
source=("git+$url#tag=v$pkgver"
$pkgname.pc.in)
b2sums=('SKIP'
b2sums=('4afba1e73e6c80fb944c9796ab1a4809b21523afd82c18b40faf7440605481cea7e1711f5f93834e9683d541de6d16a09d30773aaf2e57a7f2b35c2845ea7955'
'27cfd2086b63b0d9b08720d966d760e4237734a85a293eab81065f49857aa11ed57682a4bd26e4081701d34e61c156170b65bbf38f19387539f5472d0d94db23')
prepare() {
@ -26,14 +27,13 @@ build() {
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_INSTALL_PREFIX=/usr \
-D BUILD_SHARED_LIBS=ON \
-G Ninja \
-S utf8proc
ninja -C build
make -C build
}
package() {
# The install command does not work for libutf8proc
#DESTDIR="$pkgdir" ninja -C $pkgname-$pkgver/build install
#DESTDIR="$pkgdir" make -C $pkgname-$pkgver/build install
cd utf8proc
install -Dm644 utf8proc.h "$pkgdir/usr/include/utf8proc.h"