Date: Monday, January 13, 2020 @ 13:32:23 Author: dvzrv Revision: 552339
archrelease: copy trunk to community-x86_64 Added: libmusicxml/repos/community-x86_64/PKGBUILD (from rev 552338, libmusicxml/trunk/PKGBUILD) Deleted: libmusicxml/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++----------------------------------- 1 file changed, 28 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-13 13:32:14 UTC (rev 552338) +++ PKGBUILD 2020-01-13 13:32:23 UTC (rev 552339) @@ -1,36 +0,0 @@ -# Maintainer: David Runge <d...@sleepmap.de> -pkgname=libmusicxml -pkgver=3.14 -pkgrel=2 -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') -provides=('libmusicxml2.so') -source=("$pkgname-$pkgver.tar.gz::https://github.com/grame-cncm/${pkgname}/archive/v${pkgver}.tar.gz") -sha512sums=('67c0c40e85fded3cf891f8f9365aaed3ab2396ddb5734f27e45577cfbd1aca11c49a37e3f5cb2eea290cf6f7585a776ee0939e64037a1d7f4bdd52664d23ea0a') - -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/" -} Copied: libmusicxml/repos/community-x86_64/PKGBUILD (from rev 552338, libmusicxml/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-13 13:32:23 UTC (rev 552339) @@ -0,0 +1,28 @@ +# Maintainer: David Runge <dv...@archlinux.org> + +pkgname=libmusicxml +pkgver=3.17 +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=('fe8dfa2efd95d4f27b33a976a0e8a8200b9da03b2c945da18850f083de50e5a3ba45a1e0827e8dfab1160dd5958553eca6d66088856e5396181dcd7756b8ef47') + +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}" +}