[arch-commits] Commit in libmusicxml/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Jun 19 10:17:45 UTC 2022


    Date: Sunday, June 19, 2022 @ 10:17:44
  Author: dvzrv
Revision: 1238609

archrelease: copy trunk to community-x86_64

Added:
  libmusicxml/repos/community-x86_64/PKGBUILD
    (from rev 1238608, libmusicxml/trunk/PKGBUILD)
Deleted:
  libmusicxml/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-19 10:17:33 UTC (rev 1238608)
+++ PKGBUILD	2022-06-19 10:17:44 UTC (rev 1238609)
@@ -1,30 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=libmusicxml
-pkgver=3.18
-pkgrel=1
-pkgdesc="Portable C++ library around the MusicXML format"
-arch=('x86_64')
-url="https://github.com/grame-cncm/libmusicxml"
-license=('MPL2')
-depends=('gcc-libs' 'glibc')
-makedepends=('cmake')
-provides=('libmusicxml2.so')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/grame-cncm/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('470cf572adeebc9ffd1d5be3bb391dd0e92017d3326222cc3331cf562cfa72b313deecdab745e72f45c4e638b20347dba9796c4f6ca254cb2dfdf1ac0e9ab5b9')
-
-build() {
-  cd "$pkgname-$pkgver"
-  # CMakeLists.txt is in build and generates Makefile in root
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        build
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
-  install -vDm 644 readme.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  mv -v "${pkgdir}/usr/"{CHANGELOG.txt,README.html} \
-    "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: libmusicxml/repos/community-x86_64/PKGBUILD (from rev 1238608, libmusicxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-19 10:17:44 UTC (rev 1238609)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=libmusicxml
+pkgver=3.21
+pkgrel=1
+pkgdesc="Portable C++ library around the MusicXML format"
+arch=(x86_64)
+url="https://github.com/grame-cncm/libmusicxml"
+license=(MPL2)
+depends=(gcc-libs glibc)
+makedepends=(cmake)
+provides=(libmusicxml2.so)
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/grame-cncm/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('c594a61e63a8ddcd11fa95cdb44cf0bb2b9251104e7407d13f013f5a7fe9cafd7d76a6d80c3d907c7428af8604b4a2c9e811b515df1072d3923bbc997c9c4921')
+b2sums=('a36c7babd8929d80883d5bad47bfda1cb65c140e22f06aca7f1c0eea3ae4e2eb70058726faec1b0a7b5acbc7559e7d8a0781da7ceff9a6d2fb3e666eb9fc86a5')
+
+build() {
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -W no-dev \
+    -B build \
+    -S $pkgname-$pkgver/build
+  make -C build
+}
+
+package() {
+  make DESTDIR="$pkgdir" install -C build
+  install -vDm 644 $pkgname-$pkgver/readme.md -t "$pkgdir/usr/share/doc/$pkgname/"
+  mv -v "$pkgdir/usr/"{CHANGELOG.txt,README.html} "$pkgdir/usr/share/doc/$pkgname/"
+  mv -v "$pkgdir/usr/share/$pkgname/doc/"*.pdf "$pkgdir/usr/share/doc/$pkgname/"
+  rmdir -v "$pkgdir/usr/share/$pkgname/doc/"
+}



More information about the arch-commits mailing list