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

David Runge dvzrv at archlinux.org
Sat Jan 11 17:43:38 UTC 2020


    Date: Saturday, January 11, 2020 @ 17:43:37
  Author: dvzrv
Revision: 373269

upgpkg: libmikmod 3.3.11.1-3: Updating pkgdesc according to upstream. Switching to correct licenses (GPL2/LGPL2.1).
Moving alsa-lib to depends as it's a direct dependency for libmikmod.so. Adding libmikmod.so to provides. Switching to cmake. Installing docs.

Modified:
  libmikmod/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-11 17:12:55 UTC (rev 373268)
+++ PKGBUILD	2020-01-11 17:43:37 UTC (rev 373269)
@@ -1,34 +1,31 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: David Runge <dvzrv at archlinux.org>
 # 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)
+pkgrel=3
+pkgdesc="A module player and library supporting many formats, including mod, s3m, it, and xm"
+license=('GPL2' 'LGPL2.1')
 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')
+arch=('x86_64')
+depends=('alsa-lib' 'glibc' 'libpulse' 'sh')
+makedepends=('cmake')
+provides=('libmikmod.so')
+source=("https://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz")
+sha512sums=('f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de')
 
-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
+  cd "$pkgname-$pkgver"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -B build \
+        -S .
+  make -C build VERBOSE=1
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  cd "$pkgname-$pkgver"
+  make -C build DESTDIR="$pkgdir" install
+  install -vDm 644 {NEWS,README,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
-



More information about the arch-commits mailing list