* update libutf8proc to 2.4.0
This commit is contained in:
parent
fb8115ad52
commit
61ad8a9747
@ -2,15 +2,16 @@
|
||||
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||
|
||||
pkgname=libutf8proc
|
||||
pkgver=2.2.0
|
||||
pkgver=2.4.0
|
||||
_sover=2.3.1
|
||||
pkgrel=1
|
||||
pkgdesc='C library for processing UTF-8 encoded Unicode strings'
|
||||
arch=('x86_64' 'powerpc64le')
|
||||
arch=(x86_64 powerpc64le)
|
||||
url='https://julialang.org/utf8proc/'
|
||||
license=('custom')
|
||||
makedepends=('cmake' 'git' 'ninja')
|
||||
license=(custom)
|
||||
makedepends=(cmake git ninja)
|
||||
source=("git+https://github.com/JuliaStrings/utf8proc#tag=v$pkgver"
|
||||
'libutf8proc.pc.in')
|
||||
libutf8proc.pc.in)
|
||||
sha256sums=('SKIP'
|
||||
'0fc49af11c4e77675d307bcee442c3582db805f7c17c32284d0620131b1007d1')
|
||||
|
||||
@ -30,18 +31,16 @@ build() {
|
||||
|
||||
package() {
|
||||
# The install command does not work for libutf8proc
|
||||
# DESTDIR="$pkgdir" ninja -C "$pkgname-$pkgver/build" install
|
||||
#DESTDIR="$pkgdir" ninja -C $pkgname-$pkgver/build install
|
||||
|
||||
cd utf8proc
|
||||
|
||||
install -Dm644 utf8proc.h "$pkgdir/usr/include/utf8proc.h"
|
||||
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
|
||||
install -Dm644 "$srcdir/libutf8proc.pc" \
|
||||
"$pkgdir/usr/lib/pkgconfig/libutf8proc.pc"
|
||||
install -Dm644 ../build/libutf8proc.so.$pkgver \
|
||||
"$pkgdir/usr/lib/libutf8proc.so.$pkgver"
|
||||
|
||||
ln -s /usr/lib/libutf8proc.so.$pkgver "$pkgdir/usr/lib/libutf8proc.so"
|
||||
install -Dm644 ../build/libutf8proc.so.$_sover \
|
||||
"$pkgdir/usr/lib/libutf8proc.so.$_sover"
|
||||
ln -s /usr/lib/libutf8proc.so.$_sover "$pkgdir/usr/lib/libutf8proc.so"
|
||||
ldconfig -n "$pkgdir/usr/lib"
|
||||
}
|
||||
|
||||
|
10
libutf8proc/libutf8proc.pc.in
Normal file
10
libutf8proc/libutf8proc.pc.in
Normal file
@ -0,0 +1,10 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libutf8proc
|
||||
Description: UTF8 processing
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lutf8proc
|
||||
Cflags: -I${includedir} -DUTF8PROC_EXPORTS
|
Loading…
x
Reference in New Issue
Block a user