Date: Sunday, April 3, 2016 @ 00:53:07
  Author: foutrelis
Revision: 169294

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-harfbuzz/repos/multilib-staging-x86_64/
  lib32-harfbuzz/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 169293, lib32-harfbuzz/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: lib32-harfbuzz/repos/multilib-staging-x86_64/PKGBUILD (from rev 169293, 
lib32-harfbuzz/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD                            (rev 0)
+++ multilib-staging-x86_64/PKGBUILD    2016-04-02 22:53:07 UTC (rev 169294)
@@ -0,0 +1,42 @@
+# Maintainer: Florian Pritz <bluew...@xinu.at>
+
+_pkgbasename=harfbuzz
+pkgname=lib32-$_pkgbasename
+pkgver=1.2.4
+pkgrel=2
+pkgdesc="OpenType text shaping engine. (32-bit)"
+arch=('x86_64')
+url="http://www.freedesktop.org/wiki/Software/HarfBuzz";
+license=('MIT')
+depends=('lib32-icu' 'lib32-glib2' 'lib32-freetype2' $_pkgbasename)
+makedepends=('gcc-multilib' 'ragel')
+source=(http://www.freedesktop.org/software/harfbuzz/release/${_pkgbasename}-${pkgver}.tar.bz2)
+sha256sums=('449dbdf12a8f94aedbdefaac831d8b1bf45e7decaa9192eaa4f74104ef9de491')
+
+prepare() {
+  cd ${_pkgbasename}-$pkgver
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+ 
+  CFLAGS+=' -DNDEBUG'
+  CXXFLAGS+=' -DNDEBUG'
+  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-silent-rules 
--with-graphite2=no --without-cairo
+  make
+}
+
+package() {
+  cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}

Reply via email to