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

Alexander Rødseth arodseth at archlinux.org
Thu May 17 19:11:04 UTC 2018


    Date: Thursday, May 17, 2018 @ 19:11:03
  Author: arodseth
Revision: 324044

upgpkg: libutf8proc 1.3.1_3-2

Modified:
  libutf8proc/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-17 19:04:14 UTC (rev 324043)
+++ PKGBUILD	2018-05-17 19:11:03 UTC (rev 324044)
@@ -3,20 +3,21 @@
 
 pkgname=libutf8proc
 pkgver=1.3.1_3
-pkgrel=1
+pkgrel=2
 pkgdesc='C library for processing UTF-8 encoded Unicode strings'
 arch=('x86_64')
-url='http://git.netsurf-browser.org/libutf8proc.git/'
+url='https://git.netsurf-browser.org/libutf8proc.git/'
 license=('MIT' 'custom')
-makedepends=('cmake' 'git' 'ninja')
-source=("git://git.netsurf-browser.org/libutf8proc.git#tag=release/${pkgver/_/-}"
+makedepends=('cmake' 'git' 'ninja' 'setconf')
+source=("http://download.netsurf-browser.org/libs/releases/libutf8proc-${pkgver/_/-}-src.tar.gz"
         'libutf8proc.pc')
-sha256sums=('SKIP'
+sha256sums=('1223c2dd9c5cd077564feb30a6ad8b1c0e55ef5dfe7c275d3b9fe8274f207c70'
             '345ea6782c361f5d38808c13e1e6ce6c2bef69a22a97d115b8ce950d74de1ed1')
 
 prepare() {
-  cd "$pkgname"
+  setconf libutf8proc.pc Version "${pkgver%%_*}"
 
+  cd "$pkgname-${pkgver/_/-}"
   find . -iwholename '*cmake*' \
     -not -name CMakeLists.txt \
     -not -name utils.cmake \
@@ -26,7 +27,7 @@
 }
 
 build() {
-  cd "$pkgname"
+  cd "$pkgname-${pkgver/_/-}"
 
   mkdir -p build
   cd build
@@ -38,7 +39,7 @@
 }
 
 package() {
-  cd "$pkgname"
+  cd "$pkgname-${pkgver/_/-}"
 
   # The CMake/install configuration does not work for libutf8proc
   # DESTDIR="$pkgdir" ninja -C "$pkgname-$pkgver/build" install



More information about the arch-commits mailing list