[arch-commits] Commit in (8 files)

Alexander Rødseth arodseth at archlinux.org
Fri Mar 20 16:34:54 UTC 2015


    Date: Friday, March 20, 2015 @ 17:34:54
  Author: arodseth
Revision: 129638

Adding libutf8proc, needed by netsurf 3.3

Added:
  libutf8proc/
  libutf8proc/repos/
  libutf8proc/repos/community-i686/
  libutf8proc/repos/community-x86_64/
  libutf8proc/trunk/
  libutf8proc/trunk/PKGBUILD
  libutf8proc/trunk/utf8proc-1.1.6-buildflags.patch
  libutf8proc/trunk/utf8proc-1.1.6-soname.patch

---------------------------------+
 PKGBUILD                        |   40 ++++++++++++++++++++++++++++++++++++++
 utf8proc-1.1.6-buildflags.patch |   11 ++++++++++
 utf8proc-1.1.6-soname.patch     |   11 ++++++++++
 3 files changed, 62 insertions(+)

Added: libutf8proc/trunk/PKGBUILD
===================================================================
--- libutf8proc/trunk/PKGBUILD	                        (rev 0)
+++ libutf8proc/trunk/PKGBUILD	2015-03-20 16:34:54 UTC (rev 129638)
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 128666 2015-03-03 20:56:05Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: lolilolicon #<moc.liamg at nocilolilol>.reverse
+
+pkgname=libutf8proc
+pkgver=1.1.6
+pkgrel=1
+pkgdesc='C library for processing UTF-8 encoded Unicode strings'
+arch=('x86_64' 'i686')
+url='http://julialang.org/utf8proc/'
+license=('custom')
+makedepends=('git')
+source=("git://github.com/JuliaLang/utf8proc.git#tag=v$pkgver"
+        "utf8proc-1.1.6-buildflags.patch"
+        "utf8proc-1.1.6-soname.patch")
+md5sums=('SKIP'
+         'e19f11bf48fd814f6b355df8de37385b'
+         '7801006b616145f3f8ebf1b4a668509a')
+
+prepare() {
+  cd utf8proc
+
+  # added by lolilolicon, not sure if still needed
+  patch -Np1 -i "../utf8proc-1.1.6-buildflags.patch"
+  patch -Np1 -i "../utf8proc-1.1.6-soname.patch"
+}
+
+build() {
+  make -C utf8proc libutf8proc.so
+}
+
+package() {
+  cd utf8proc
+
+  install -Dm755 libutf8proc.so "$pkgdir/usr/lib/libutf8proc.so"
+  install -Dm644 utf8proc.h "$pkgdir/usr/include/utf8proc.h"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Added: libutf8proc/trunk/utf8proc-1.1.6-buildflags.patch
===================================================================
--- libutf8proc/trunk/utf8proc-1.1.6-buildflags.patch	                        (rev 0)
+++ libutf8proc/trunk/utf8proc-1.1.6-buildflags.patch	2015-03-20 16:34:54 UTC (rev 129638)
@@ -0,0 +1,11 @@
+--- a/Makefile	2014-01-26 18:55:57.400996757 +0000
++++ b/Makefile	2014-01-26 19:00:10.264164095 +0000
+@@ -3,7 +3,7 @@
+ 
+ # settings
+ 
+-cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
++cflags = -std=c99 -pedantic -fpic $(CFLAGS)
+ cc = $(CC) $(cflags)
+ 
+ 

Added: libutf8proc/trunk/utf8proc-1.1.6-soname.patch
===================================================================
--- libutf8proc/trunk/utf8proc-1.1.6-soname.patch	                        (rev 0)
+++ libutf8proc/trunk/utf8proc-1.1.6-soname.patch	2015-03-20 16:34:54 UTC (rev 129638)
@@ -0,0 +1,11 @@
+--- a/Makefile	2014-01-26 19:01:17.723542649 +0000
++++ b/Makefile	2014-01-26 19:02:24.532907919 +0000
+@@ -34,7 +34,7 @@
+ 	ar rs libutf8proc.a utf8proc.o
+ 
+ libutf8proc.so: utf8proc.o
+-	$(cc) -shared -o libutf8proc.so utf8proc.o
++	$(cc) -Wl,-soname,libutf8proc.so -shared -o libutf8proc.so utf8proc.o
+ 	chmod a-x libutf8proc.so
+ 
+ libutf8proc.dylib: utf8proc.o



More information about the arch-commits mailing list