[arch-commits] Commit in libutf8proc/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Oct 31 10:01:48 UTC 2017
Date: Tuesday, October 31, 2017 @ 10:01:47
Author: arodseth
Revision: 264881
upgpkg: libutf8proc 1.3.1_3-1
Modified:
libutf8proc/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-31 09:38:36 UTC (rev 264880)
+++ PKGBUILD 2017-10-31 10:01:47 UTC (rev 264881)
@@ -2,15 +2,13 @@
# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
pkgname=libutf8proc
-pkgver=1.3.1_2
-pkgrel=3
+pkgver=1.3.1_3
+pkgrel=1
pkgdesc='C library for processing UTF-8 encoded Unicode strings'
arch=('x86_64' 'i686')
url='http://git.netsurf-browser.org/libutf8proc.git/'
license=('MIT' 'custom')
-replaces=('utf8proc')
-depends=('glibc')
-makedepends=('git' 'ninja' 'cmake')
+makedepends=('cmake' 'git' 'ninja')
source=("git://git.netsurf-browser.org/libutf8proc.git#tag=release/${pkgver/_/-}"
'libutf8proc.pc')
sha256sums=('SKIP'
@@ -19,8 +17,11 @@
prepare() {
cd "$pkgname"
- rm Makefile
- find . -iwholename '*cmake*' -not -name CMakeLists.txt -not -name utils.cmake -delete
+ find . -iwholename '*cmake*' \
+ -not -name CMakeLists.txt \
+ -not -name utils.cmake \
+ -delete
+ rm -fv Makefile
cp -r src/* include/$pkgname/* .
}
@@ -44,11 +45,14 @@
install -Dm644 utf8proc.h "$pkgdir/usr/include/utf8proc.h"
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
- install -Dm644 ../libutf8proc.pc "$pkgdir/usr/lib/pkgconfig/libutf8proc.pc"
- install -Dm644 build/libutf8proc.so.1.3.1 "$pkgdir/usr/lib/libutf8proc.so.1.3.1"
+ install -Dm644 "$srcdir/libutf8proc.pc" \
+ "$pkgdir/usr/lib/pkgconfig/libutf8proc.pc"
+ install -Dm644 build/libutf8proc.so.1.3.1 \
+ "$pkgdir/usr/lib/libutf8proc.so.1.3.1"
+
ln -s /usr/lib/libutf8proc.so.1.3.1 "$pkgdir/usr/lib/libutf8proc.so.1"
ln -s /usr/lib/libutf8proc.so.1.3.1 "$pkgdir/usr/lib/libutf8proc.so"
}
# getver: git.netsurf-browser.org/libutf8proc.git/
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list