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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:34:10 UTC 2018


    Date: Friday, November 9, 2018 @ 21:34:09
  Author: felixonmars
Revision: 404680

archrelease: copy trunk to multilib-staging-x86_64

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

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

Copied: lib32-libmikmod/repos/multilib-staging-x86_64/PKGBUILD (from rev 404679, lib32-libmikmod/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 21:34:09 UTC (rev 404680)
@@ -0,0 +1,41 @@
+# Maintainer: Peter Lewis <plewis at aur.archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Jesse Juhani Jaara <jesse.jaara at gmail.com>
+
+pkgname=lib32-libmikmod
+pkgver=3.3.11.1
+pkgrel=2
+pkgdesc="A portable sound library"
+license=(GPL LGPL)
+url="http://mikmod.sourceforge.net"
+arch=(x86_64)
+depends=(libmikmod lib32-libpulse)
+makedepends=(gcc-multilib libtool-multilib lib32-alsa-lib)
+source=(http://downloads.sourceforge.net/mikmod/libmikmod-$pkgver.tar.gz)
+sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd build
+  ../libmikmod-$pkgver/configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/usr/{include,share,bin}
+}
+


More information about the arch-commits mailing list