[arch-commits] Commit in lib32-libogg/repos (2 files)

Laurent Carlier lcarlier at nymeria.archlinux.org
Fri May 31 16:11:58 EDT 2013


    Date: Friday, May 31, 2013 @ 22:11:58
  Author: lcarlier
Revision: 92120

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libogg/repos/multilib-testing-x86_64/
  lib32-libogg/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 92119, lib32-libogg/trunk/PKGBUILD)

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

Copied: lib32-libogg/repos/multilib-testing-x86_64/PKGBUILD (from rev 92119, lib32-libogg/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2013-05-31 20:11:58 UTC (rev 92120)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+_pkgbasename=libogg
+pkgname=lib32-$_pkgbasename
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Ogg bitstream and framing library (32-bit)"
+arch=('x86_64')
+url="http://www.xiph.org/ogg/"
+license=('BSD')
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=(gcc-multilib)
+options=('!libtool')
+source=(http://downloads.xiph.org/releases/ogg/$_pkgbasename-$pkgver.tar.xz)
+md5sums=('ca25d8da0ddfc8c6cbbf78d847a209fe')
+
+build() {
+    export CC="gcc -m32"
+    export CXX="g++ -m32"
+    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+    cd $srcdir/${_pkgbasename}-${pkgver}
+    ./configure --prefix=/usr --libdir=/usr/lib32
+    make
+}
+
+package() {
+    cd $srcdir/${_pkgbasename}-${pkgver}
+
+    make DESTDIR=$pkgdir install
+
+    rm -rf "$pkgdir"/usr/{share,bin}
+    find "$pkgdir"/usr/include/ogg -type f -not -name config_types.h -delete
+    mv "$pkgdir"/usr/include/ogg/config_types{,-32}.h
+    mkdir -p "$pkgdir/usr/share/licenses"
+    ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list