[arch-commits] Commit in libmusicxml/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Nov 16 16:22:56 UTC 2018
Date: Friday, November 16, 2018 @ 16:22:55
Author: dvzrv
Revision: 408468
archrelease: copy trunk to community-x86_64
Added:
libmusicxml/repos/community-x86_64/PKGBUILD
(from rev 408467, libmusicxml/trunk/PKGBUILD)
Deleted:
libmusicxml/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 35 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-16 16:22:45 UTC (rev 408467)
+++ PKGBUILD 2018-11-16 16:22:55 UTC (rev 408468)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=libmusicxml
-pkgver=3.13
-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')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/grame-cncm/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('c4ee0d28ccdaa9fd3faaa765367a95a45210381b4197557a90a9978cf3ecf05be474b90ade00135d3eb3a79146a6d40e0106fddd8f8647b2f2d6c50557f36ccc')
-
-prepare() {
- cd "$pkgname-$pkgver"
- # fixing not correctly defined DOCDIR:
- # https://github.com/grame-cncm/libmusicxml/issues/21
- sed -e 's|shared/lib|share/lib|' -i build/CMakeLists.txt
-}
-
-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}"
-# moving docs to /usr/share/doc/${pkgname}
- mv -v "${pkgdir}/usr/share/${pkgname}/doc/"* \
- "${pkgdir}/usr/share/${pkgname}/CHANGELOG.txt" \
- "${pkgdir}/usr/share/doc/${pkgname}"
- rmdir -v "${pkgdir}/usr/share/${pkgname}/doc/"
-}
Copied: libmusicxml/repos/community-x86_64/PKGBUILD (from rev 408467, libmusicxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-16 16:22:55 UTC (rev 408468)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=libmusicxml
+pkgver=3.14
+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')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/grame-cncm/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('b7e7986bc1cfb90d9666573696a1ead388347271fe36cb4666533149f85504d730d8a152a9e7691562d95e82ff7e4f39285e715de030d5712dfd6796563dbf06')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+}
+
+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}"
+ # moving docs to /usr/share/doc/${pkgname}
+ mv -v "${pkgdir}/usr/share/${pkgname}/doc/"* \
+ "${pkgdir}/usr/share/${pkgname}/CHANGELOG.txt" \
+ "${pkgdir}/usr/share/doc/${pkgname}"
+ rmdir -v "${pkgdir}/usr/share/${pkgname}/doc/"
+}
More information about the arch-commits
mailing list