[arch-commits] Commit in lib32-fribidi/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Mar 17 18:03:02 UTC 2018
Date: Saturday, March 17, 2018 @ 18:03:01
Author: heftig
Revision: 308959
1.0.1+8+gdf7252b-1
Added:
lib32-fribidi/trunk/PKGBUILD
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-17 18:03:01 UTC (rev 308959)
@@ -0,0 +1,52 @@
+# $Id$
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Nezmer <Nezmer at gmail.com>
+
+_pkgbasename=fribidi
+pkgname=lib32-$_pkgbasename
+pkgver=1.0.1+8+gdf7252b
+pkgrel=1
+pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm (32-bit)"
+arch=('x86_64')
+license=('LGPL')
+url="https://github.com/fribidi/fribidi/"
+makedepends=(git lib32-glib2)
+depends=('lib32-glibc' $_pkgbasename)
+options=('!makeflags')
+_commit=df7252be3fd94ceae8141a09ee86421fdd8b3b7e # master
+source=("git+https://github.com/fribidi/fribidi#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_pkgbasename
+ git describe --tags | sed -e 's/-/+/g' -e 's/^v//'
+}
+
+
+prepare() {
+ cd $_pkgbasename
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/$_pkgbasename"
+ ./configure --prefix=/usr --libdir=/usr/lib32
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd "${srcdir}/$_pkgbasename"
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "$pkgdir"/usr/{include,share,bin}
+}
+
+check() {
+ cd "${srcdir}/$_pkgbasename"
+ make check
+}
Property changes on: lib32-fribidi/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list