[arch-commits] Commit in libutf8proc/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat Mar 21 18:26:35 UTC 2015
Date: Saturday, March 21, 2015 @ 19:26:35
Author: arodseth
Revision: 129713
upgpkg: libutf8proc 1.1.6-4
Switching over to the NetSurf fork
Modified:
libutf8proc/trunk/PKGBUILD
----------+
PKGBUILD | 36 +++++++++++-------------------------
1 file changed, 11 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-21 18:03:07 UTC (rev 129712)
+++ PKGBUILD 2015-03-21 18:26:35 UTC (rev 129713)
@@ -1,42 +1,28 @@
# $Id$
# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: lolilolicon #<moc.liamg at nocilolilol>.reverse
pkgname=libutf8proc
pkgver=1.1.6
-pkgrel=3
+_netsurf=3.3
+pkgrel=4
pkgdesc='C library for processing UTF-8 encoded Unicode strings'
arch=('x86_64' 'i686')
-url='http://julialang.org/utf8proc/'
+url='http://www.netsurf-browser.org/'
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'
- 'libutf8proc.pc')
-md5sums=('SKIP'
- 'e19f11bf48fd814f6b355df8de37385b'
- '7801006b616145f3f8ebf1b4a668509a'
- 'd33f454a3b7e8325390697d11d58fe80')
+makedepends=('netsurf-buildsystem')
+source=("http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$_netsurf.tar.gz")
+sha256sums=('5d7e31e8be6230792bf682640ec16a75d7d67c3845521a7e4c304ae89a88ff1c')
-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 "$pkgname.so"
+ make -C "netsurf-all-$_netsurf/$pkgname" \
+ PREFIX=/usr LIBDIR=lib COMPONENT_TYPE="lib-shared"
}
package() {
- cd utf8proc
+ cd "netsurf-all-$_netsurf/$pkgname"
- install -Dm755 "$pkgname.so" "$pkgdir/usr/lib/$pkgname.so"
- install -Dm644 utf8proc.h "$pkgdir/usr/include/$pkgname/utf8proc.h"
- install -Dm644 "../$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc"
+ make PREFIX=/usr LIBDIR=lib COMPONENT_TYPE="lib-shared" \
+ DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list