[arch-commits] Commit in libmikmod/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:47:48 UTC 2018


    Date: Friday, November 9, 2018 @ 23:47:48
  Author: felixonmars
Revision: 338807

archrelease: copy trunk to staging-x86_64

Added:
  libmikmod/repos/staging-x86_64/
  libmikmod/repos/staging-x86_64/PKGBUILD
    (from rev 338806, libmikmod/trunk/PKGBUILD)

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

Copied: libmikmod/repos/staging-x86_64/PKGBUILD (from rev 338806, libmikmod/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 23:47:48 UTC (rev 338807)
@@ -0,0 +1,34 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=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=(libpulse sh)
+makedepends=(alsa-lib)
+source=(https://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz)
+sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  ../$pkgname-$pkgver/configure \
+    --prefix=/usr \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list