Debian Codegraph @

mingw64/packages/musicxml/PKGBUILD

raw
1 # Maintainer: Michael Gogins <[email protected]>
2
3 pkgname=libmusicxml-git
4 pkgrel=1
5 pkgver=36.80a876f
6 pkgdesc="library and tools for the MusicXML format (git version)"
7 arch=('x86_64' 'i686')
8 url="https://github.com/dfober/libmusicxml"
9 license=('LGPL')
10 makedepends=('cmake')
11 provides=('libmusicxml')
12 conflicts=('libmusicxml')
13 source=("$pkgname::git+https://github.com/dfober/libmusicxml")
14 md5sums=('SKIP')
15
16 pkgver() {
17 cd $srcdir/$pkgname
18 echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
19 }
20
21 build() {
22 cd "$srcdir/$pkgname/build"
23 cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}${MINGW_PREFIX}" -G "Unix Makefiles"
24 make
25 }
26
27 package() {
28 cd "$srcdir/$pkgname/build"
29 make prefix="${pkgdir}${MINGW_PREFIX}" install
30 }