[arch-commits] Commit in libutf8proc/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at gemini.archlinux.org
Thu Dec 30 14:57:20 UTC 2021
Date: Thursday, December 30, 2021 @ 14:57:19
Author: arodseth
Revision: 1088427
archrelease: copy trunk to community-x86_64
Added:
libutf8proc/repos/community-x86_64/PKGBUILD
(from rev 1088426, libutf8proc/trunk/PKGBUILD)
libutf8proc/repos/community-x86_64/libutf8proc.pc.in
(from rev 1088426, libutf8proc/trunk/libutf8proc.pc.in)
Deleted:
libutf8proc/repos/community-x86_64/PKGBUILD
libutf8proc/repos/community-x86_64/libutf8proc.pc.in
-------------------+
PKGBUILD | 90 ++++++++++++++++++++++++++--------------------------
libutf8proc.pc.in | 20 +++++------
2 files changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-30 14:57:13 UTC (rev 1088426)
+++ PKGBUILD 2021-12-30 14:57:19 UTC (rev 1088427)
@@ -1,45 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-
-pkgname=libutf8proc
-pkgver=2.6.1
-_sover=2.4.1
-pkgrel=1
-pkgdesc='C library for processing UTF-8 encoded Unicode strings'
-arch=(x86_64)
-url='https://github.com/JuliaStrings/utf8proc'
-license=(custom)
-makedepends=(cmake git ninja)
-source=("git+$url#commit=3203baa7374d67132384e2830b2183c92351bffc" # tag: v2.6.1
- libutf8proc.pc.in)
-sha256sums=('SKIP'
- '0fc49af11c4e77675d307bcee442c3582db805f7c17c32284d0620131b1007d1')
-
-prepare() {
- sed "s#@VERSION@#$pkgver#" libutf8proc.pc.in > libutf8proc.pc
-}
-
-build() {
- mkdir -p build
- cd build
- cmake ../utf8proc \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -G Ninja
- ninja
- find .
-}
-
-package() {
- # The install command does not work for libutf8proc
- #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.$_sover \
- "$pkgdir/usr/lib/libutf8proc.so.$_sover"
- ln -s /usr/lib/libutf8proc.so.$_sover "$pkgdir/usr/lib/libutf8proc.so"
- ldconfig -n "$pkgdir/usr/lib"
-}
Copied: libutf8proc/repos/community-x86_64/PKGBUILD (from rev 1088426, libutf8proc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-30 14:57:19 UTC (rev 1088427)
@@ -0,0 +1,45 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=libutf8proc
+pkgver=2.7.0
+_sover=2.5.0
+pkgrel=1
+pkgdesc='C library for processing UTF-8 encoded Unicode strings'
+arch=(x86_64)
+url='https://github.com/JuliaStrings/utf8proc'
+license=(custom)
+makedepends=(cmake git ninja)
+source=("git+$url#commit=8ca6144c85c165987cb1c5d8395c7314e13d4cd7" # tag: v2.7.0
+ libutf8proc.pc.in)
+b2sums=('SKIP'
+ '27cfd2086b63b0d9b08720d966d760e4237734a85a293eab81065f49857aa11ed57682a4bd26e4081701d34e61c156170b65bbf38f19387539f5472d0d94db23')
+
+prepare() {
+ sed "s#@VERSION@#$pkgver#" libutf8proc.pc.in > libutf8proc.pc
+}
+
+build() {
+ cmake -B build \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_INSTALL_LIBDIR=lib \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D BUILD_SHARED_LIBS=ON \
+ -G Ninja \
+ -S utf8proc
+ ninja -C build
+}
+
+package() {
+ # The install command does not work for libutf8proc
+ #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.$_sover \
+ "$pkgdir/usr/lib/libutf8proc.so.$_sover"
+ ln -s /usr/lib/libutf8proc.so.$_sover "$pkgdir/usr/lib/libutf8proc.so"
+ ldconfig -n "$pkgdir/usr/lib"
+}
Deleted: libutf8proc.pc.in
===================================================================
--- libutf8proc.pc.in 2021-12-30 14:57:13 UTC (rev 1088426)
+++ libutf8proc.pc.in 2021-12-30 14:57:19 UTC (rev 1088427)
@@ -1,10 +0,0 @@
-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
Copied: libutf8proc/repos/community-x86_64/libutf8proc.pc.in (from rev 1088426, libutf8proc/trunk/libutf8proc.pc.in)
===================================================================
--- libutf8proc.pc.in (rev 0)
+++ libutf8proc.pc.in 2021-12-30 14:57:19 UTC (rev 1088427)
@@ -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
More information about the arch-commits
mailing list