[arch-commits] Commit in libutf8proc/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue Apr 2 07:49:53 UTC 2019


    Date: Tuesday, April 2, 2019 @ 07:49:53
  Author: arodseth
Revision: 447430

upgpkg: libutf8proc 2.3.0-1

Modified:
  libutf8proc/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 07:13:58 UTC (rev 447429)
+++ PKGBUILD	2019-04-02 07:49:53 UTC (rev 447430)
@@ -1,7 +1,8 @@
 # Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 
 pkgname=libutf8proc
-pkgver=2.2.0
+pkgver=2.3.0
+_sover=2.2.0
 pkgrel=1
 pkgdesc='C library for processing UTF-8 encoded Unicode strings'
 arch=('x86_64')
@@ -29,18 +30,16 @@
 
 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"
 }
 


More information about the arch-commits mailing list