[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
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 === --- PKGBUILD2020-01-11 17:12:55 UTC (rev 373268) +++ PKGBUILD2020-01-11 17:43:37 UTC (rev 373269) @@ -1,34 +1,31 @@ # Maintainer: Jan Alexander Steffens (heftig) +# Contributor: David Runge # Contributor: Allan McRae # Contributor: Tom Newsom 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}" } -
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Tuesday, February 7, 2012 @ 11:34:49 Author: heftig Revision: 149419 signed rebuild Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-02-07 16:26:15 UTC (rev 149418) +++ PKGBUILD2012-02-07 16:34:49 UTC (rev 149419) @@ -1,10 +1,11 @@ # $Id$ -# Maintainer: Allan McRae +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: Allan McRae # Contributor: Tom Newsom pkgname=libmikmod pkgver=3.1.12 -pkgrel=3 +pkgrel=4 pkgdesc="A portable sound library" license=('GPL' 'LGPL') url="http://sourceforge.net/projects/mikmod/";
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Sunday, September 7, 2014 @ 02:48:04 Author: heftig Revision: 221056 3.3.7 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-09-06 22:25:04 UTC (rev 221055) +++ PKGBUILD2014-09-07 00:48:04 UTC (rev 221056) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.6 +pkgver=3.3.7 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -14,7 +14,7 @@ makedepends=(alsa-lib) install=$pkgname.install source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('3f363e03f7b1db75b9b6602841bbd440ed275a548e53545f980df8155de4d330') +sha256sums=('4cf41040a9af99cb960580210ba900c0a519f73ab97b503c780e82428b9bd9a2') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Thursday, October 10, 2013 @ 03:43:45 Author: heftig Revision: 196256 3.3.2 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-10-09 22:22:53 UTC (rev 196255) +++ PKGBUILD2013-10-10 01:43:45 UTC (rev 196256) @@ -4,36 +4,34 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.2.0 +pkgver=3.3.2 pkgrel=1 pkgdesc="A portable sound library" -license=('GPL' 'LGPL') +license=(GPL LGPL) url="http://mikmod.shlomifish.org/"; -arch=('i686' 'x86_64') -depends=('glibc' 'sh') -makedepends=('alsa-lib') +arch=(i686 x86_64) +depends=(openal sh) +makedepends=(alsa-lib) options=('!libtool') install=$pkgname.install -source=($url/files/$pkgname-$pkgver.tar.gz -libmikmod-3.2.0-64bit-fix.diff -libmikmod-3.1.12-loopingvolume-fix.diff) -md5sums=('96e9820d72a41fe27ff304071739696c' - '0bb09aac6e83e0a7fd6535961b3cff4c' - 'a837fd876cbd2ac27419b802504489db') +source=($url/files/$pkgname-$pkgver.tar.gz) +sha256sums=('2311b209255bf24e95161907a16778cb054ac6d447fd8d05f1f0e41a555c7580') +prepare() { + mkdir build +} + build() { - cd $pkgname-$pkgver - - # patches from sdl_mixer-1.2.11 source - patch -Np1 -i $srcdir/libmikmod-3.2.0-64bit-fix.diff - patch -Np1 -i $srcdir/libmikmod-3.1.12-loopingvolume-fix.diff - - ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-static + cd build + ../$pkgname-$pkgver/configure \ +--prefix=/usr \ +--enable-openal \ +--disable-static make } package() { - cd $pkgname-$pkgver + cd build make DESTDIR="$pkgdir" install }
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Tuesday, October 15, 2013 @ 23:51:43 Author: heftig Revision: 196632 3.3.3 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-10-15 21:31:37 UTC (rev 196631) +++ PKGBUILD2013-10-15 21:51:43 UTC (rev 196632) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.2 +pkgver=3.3.3 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -15,7 +15,7 @@ options=('!libtool') install=$pkgname.install source=($url/files/$pkgname-$pkgver.tar.gz) -sha256sums=('2311b209255bf24e95161907a16778cb054ac6d447fd8d05f1f0e41a555c7580') +sha256sums=('79f02478c5abd8b2af73df4cc5f9d52625aa044327c01563168e270cf79b2437') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Friday, October 18, 2013 @ 18:32:21 Author: heftig Revision: 196775 fix urls Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-10-18 15:40:16 UTC (rev 196774) +++ PKGBUILD2013-10-18 16:32:21 UTC (rev 196775) @@ -8,13 +8,13 @@ pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) -url="http://mikmod.shlomifish.org/"; +url="http://mikmod.sourceforge.net"; arch=(i686 x86_64) depends=(openal sh) makedepends=(alsa-lib) options=('!libtool') install=$pkgname.install -source=($url/files/$pkgname-$pkgver.tar.gz) +source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) sha256sums=('79f02478c5abd8b2af73df4cc5f9d52625aa044327c01563168e270cf79b2437') prepare() {
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Wednesday, August 17, 2016 @ 05:44:08 Author: heftig Revision: 273854 3.3.9-1 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-16 19:06:02 UTC (rev 273853) +++ PKGBUILD2016-08-17 05:44:08 UTC (rev 273854) @@ -4,8 +4,8 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.8 -pkgrel=2 +pkgver=3.3.9 +pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) url="http://mikmod.sourceforge.net"; @@ -13,7 +13,7 @@ depends=(libpulse sh) makedepends=(alsa-lib) source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2') +sha256sums=('3b65c1a5cae07a2771cbb82fc70ac75d99f4b3e35ac1d4cd2177865093df2893') prepare() { mkdir build @@ -24,6 +24,7 @@ ../$pkgname-$pkgver/configure \ --prefix=/usr \ --disable-static + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make }
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Monday, December 9, 2013 @ 08:40:47 Author: heftig Revision: 201339 3.3.4 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-12-09 07:37:01 UTC (rev 201338) +++ PKGBUILD2013-12-09 07:40:47 UTC (rev 201339) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.3 +pkgver=3.3.4 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -14,7 +14,7 @@ makedepends=(alsa-lib) install=$pkgname.install source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('79f02478c5abd8b2af73df4cc5f9d52625aa044327c01563168e270cf79b2437') +sha256sums=('2e8ca1d945ff7330741d085548a6d4e8b2f6a9d41edda773607905d8905683ae') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Friday, January 10, 2014 @ 22:23:39 Author: heftig Revision: 203443 3.3.5 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-01-10 21:13:42 UTC (rev 203442) +++ PKGBUILD2014-01-10 21:23:39 UTC (rev 203443) @@ -4,17 +4,17 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.4 +pkgver=3.3.5 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) url="http://mikmod.sourceforge.net"; arch=(i686 x86_64) -depends=(openal sh) +depends=(libpulse sh) makedepends=(alsa-lib) install=$pkgname.install source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('2e8ca1d945ff7330741d085548a6d4e8b2f6a9d41edda773607905d8905683ae') +sha256sums=('b714ee340a04e6867f60246f679e0f40063b92f99269b6b715c8bf19ad469fb6') prepare() { mkdir build @@ -24,7 +24,6 @@ cd build ../$pkgname-$pkgver/configure \ --prefix=/usr \ ---enable-openal \ --disable-static make }
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Tuesday, December 15, 2015 @ 15:08:57 Author: heftig Revision: 256174 3.3.8 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-12-15 14:08:56 UTC (rev 256173) +++ PKGBUILD2015-12-15 14:08:57 UTC (rev 256174) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.7 +pkgver=3.3.8 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -14,7 +14,7 @@ makedepends=(alsa-lib) install=$pkgname.install source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('4cf41040a9af99cb960580210ba900c0a519f73ab97b503c780e82428b9bd9a2') +sha256sums=('4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Wednesday, June 14, 2017 @ 07:41:03 Author: heftig Revision: 298804 3.3.11-1 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-14 07:15:52 UTC (rev 298803) +++ PKGBUILD2017-06-14 07:41:03 UTC (rev 298804) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.10 +pkgver=3.3.11 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -13,7 +13,7 @@ depends=(libpulse sh) makedepends=(alsa-lib) source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('00b3f5298431864ebd069de793ec969cfea3ae6f340f6dfae1ff7da1ae24ef48') +sha256sums=('d1ba23ce8191ac917f9080bbc1e5e879887c01acd7bd311b1315932c4312abea') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Friday, June 23, 2017 @ 10:13:19 Author: heftig Revision: 299161 3.3.11.1-1 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-23 09:39:56 UTC (rev 299160) +++ PKGBUILD2017-06-23 10:13:19 UTC (rev 299161) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.11 +pkgver=3.3.11.1 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -13,7 +13,7 @@ depends=(libpulse sh) makedepends=(alsa-lib) source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('d1ba23ce8191ac917f9080bbc1e5e879887c01acd7bd311b1315932c4312abea') +sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Tuesday, February 14, 2017 @ 05:07:36 Author: heftig Revision: 288918 3.3.10-1 Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-02-14 05:07:11 UTC (rev 288917) +++ PKGBUILD2017-02-14 05:07:36 UTC (rev 288918) @@ -4,7 +4,7 @@ # Contributor: Tom Newsom pkgname=libmikmod -pkgver=3.3.9 +pkgver=3.3.10 pkgrel=1 pkgdesc="A portable sound library" license=(GPL LGPL) @@ -13,7 +13,7 @@ depends=(libpulse sh) makedepends=(alsa-lib) source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) -sha256sums=('3b65c1a5cae07a2771cbb82fc70ac75d99f4b3e35ac1d4cd2177865093df2893') +sha256sums=('00b3f5298431864ebd069de793ec969cfea3ae6f340f6dfae1ff7da1ae24ef48') prepare() { mkdir build
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Wednesday, October 18, 2017 @ 23:08:38 Author: heftig Revision: 308225 https Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-10-18 23:07:27 UTC (rev 308224) +++ PKGBUILD2017-10-18 23:08:38 UTC (rev 308225) @@ -12,7 +12,7 @@ arch=(i686 x86_64) depends=(libpulse sh) makedepends=(alsa-lib) -source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) +source=(https://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19') prepare() {
[arch-commits] Commit in libmikmod/trunk (PKGBUILD)
Date: Friday, November 9, 2018 @ 23:47:32 Author: felixonmars Revision: 338806 PIE/BUILDINFO rebuild Modified: libmikmod/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-09 23:46:49 UTC (rev 338805) +++ PKGBUILD2018-11-09 23:47:32 UTC (rev 338806) @@ -4,7 +4,7 @@ pkgname=libmikmod pkgver=3.3.11.1 -pkgrel=1 +pkgrel=2 pkgdesc="A portable sound library" license=(GPL LGPL) url="http://mikmod.sourceforge.net";
[arch-commits] Commit in libmikmod/trunk (PKGBUILD libmikmod.install)
Date: Thursday, July 28, 2016 @ 13:40:09 Author: heftig Revision: 272597 3.3.8-2 Modified: libmikmod/trunk/PKGBUILD Deleted: libmikmod/trunk/libmikmod.install ---+ PKGBUILD |3 +-- libmikmod.install | 18 -- 2 files changed, 1 insertion(+), 20 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-28 13:38:41 UTC (rev 272596) +++ PKGBUILD2016-07-28 13:40:09 UTC (rev 272597) @@ -5,7 +5,7 @@ pkgname=libmikmod pkgver=3.3.8 -pkgrel=1 +pkgrel=2 pkgdesc="A portable sound library" license=(GPL LGPL) url="http://mikmod.sourceforge.net"; @@ -12,7 +12,6 @@ arch=(i686 x86_64) depends=(libpulse sh) makedepends=(alsa-lib) -install=$pkgname.install source=(http://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz) sha256sums=('4acf6634a477d8b95f18b55a3e2e76052c149e690d202484e8b0ac7589cf37a2') Deleted: libmikmod.install === --- libmikmod.install 2016-07-28 13:38:41 UTC (rev 272596) +++ libmikmod.install 2016-07-28 13:40:09 UTC (rev 272597) @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(mikmod.info) - -post_install() { - for file in ${filelist[@]}; do -install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do -install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -}
[arch-commits] Commit in libmikmod/trunk (PKGBUILD cmake-man.diff)
Date: Saturday, January 11, 2020 @ 19:14:54 Author: heftig Revision: 373273 3.3.11.1-4 Added: libmikmod/trunk/cmake-man.diff Modified: libmikmod/trunk/PKGBUILD + PKGBUILD | 53 +++-- cmake-man.diff | 11 +++ 2 files changed, 46 insertions(+), 18 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-11 18:40:29 UTC (rev 373272) +++ PKGBUILD2020-01-11 19:14:54 UTC (rev 373273) @@ -5,27 +5,44 @@ pkgname=libmikmod pkgver=3.3.11.1 -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=('alsa-lib' 'glibc' 'libpulse' 'sh') -makedepends=('cmake') -provides=('libmikmod.so') -source=("https://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz";) -sha512sums=('f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de') +pkgrel=4 +pkgdesc="Module player library supporting many formats, including MOD, S3M, IT and XM" +url=http://mikmod.sourceforge.net +license=(GPL2 LGPL2.1) +arch=(x86_64) +depends=(glibc libpulse sh) +makedepends=(alsa-lib cmake) +provides=(libmikmod.so) +source=(https://downloads.sourceforge.net/mikmod/$pkgname-$pkgver.tar.gz +cmake-man.diff) +md5sums=('f69d7dd06d307e888f466fc27f4f680b' + 'e8a338d92027072971f49b495e87c442') +sha256sums=('ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19' +'3331b6ff7f6f3dfd33f543d64affc10a127f61bed1160f75b07344c03f21b840') +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../cmake-man.diff +} + build() { - cd "$pkgname-$pkgver" - cmake -DCMAKE_INSTALL_PREFIX=/usr \ --B build \ --S . - make -C build VERBOSE=1 + # cmake ignores CPPFLAGS + CFLAGS+=" $CPPFLAGS" + + cmake -H$pkgname-$pkgver -Bbuild \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DENABLE_DL=1 + cmake --build build } package() { - cd "$pkgname-$pkgver" - make -C build DESTDIR="$pkgdir" install - install -vDm 644 {NEWS,README,TODO} -t "${pkgdir}/usr/share/doc/${pkgname}" + DESTDIR="$pkgdir" cmake --build build --target install + + install -Dt "$pkgdir/usr/share/aclocal" -m644 $pkgname-$pkgver/libmikmod.m4 + install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 \ +$pkgname-$pkgver/{NEWS,README,TODO} build/docs/mikmod.html + install -Dt "$pkgdir/usr/share/info" build/docs/mikmod.info + install -Dt "$pkgdir/usr/share/man/man1" build/docs/libmikmod-config.1 } + +# vim: ts=2 sw=2 et: Added: cmake-man.diff === --- cmake-man.diff (rev 0) +++ cmake-man.diff 2020-01-11 19:14:54 UTC (rev 373273) @@ -0,0 +1,11 @@ +diff -u -r libmikmod-3.3.11.1/docs/CMakeLists.txt libmikmod-3.3.11.1-man/docs/CMakeLists.txt +--- libmikmod-3.3.11.1/docs/CMakeLists.txt 2014-07-10 07:37:00.0 + libmikmod-3.3.11.1-man/docs/CMakeLists.txt 2020-01-11 18:54:48.154853499 + +@@ -20,5 +20,7 @@ + COMMENT "Creating HTML file ${html_out}" + VERBATIM) + ++configure_file(libmikmod-config.1.in libmikmod-config.1 @ONLY) ++ + add_custom_target(info ALL DEPENDS ${info_out} ${html_out}) + ENDIF(ENABLE_DOC)