[arch-commits] Commit in lib32-libmikmod/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 11 13:00:53 UTC 2019


    Date: Monday, March 11, 2019 @ 13:00:53
  Author: alucryd
Revision: 439756

upgpkg: lib32-libmikmod 3.3.11.1-3

Modified:
  lib32-libmikmod/trunk/PKGBUILD

----------+
 PKGBUILD |   51 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 30 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-11 12:48:58 UTC (rev 439755)
+++ PKGBUILD	2019-03-11 13:00:53 UTC (rev 439756)
@@ -1,4 +1,5 @@
-# Maintainer: Peter Lewis <plewis at aur.archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: 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>
@@ -5,27 +6,33 @@
 
 pkgname=lib32-libmikmod
 pkgver=3.3.11.1
-pkgrel=2
-pkgdesc="A portable sound library"
-license=(GPL LGPL)
-url="http://mikmod.sourceforge.net"
+pkgrel=3
+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')
+depends=(
+  lib32-libpulse
+  libmikmod
+)
+makedepends=(
+  lib32-alsa-lib
+  libtool-multilib
+)
+source=(https://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 libmikmod-${pkgver}
 
-  cd build
-  ../libmikmod-$pkgver/configure \
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure \
     --prefix=/usr \
     --libdir=/usr/lib32 \
     --disable-static
@@ -34,8 +41,10 @@
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-  rm -r "$pkgdir"/usr/{include,share,bin}
+  cd libmikmod-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -r "${pkgdir}"/usr/{include,share,bin}
 }
 
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list