diff options
author | Uwe Koloska | 2019-03-26 00:55:02 +0100 |
---|---|---|
committer | Uwe Koloska | 2019-03-26 00:55:02 +0100 |
commit | 6300034740e0ecbab50da2b72d20915e965b24ac (patch) | |
tree | d6fffa821d1a442a8647728065b79832479d556a | |
parent | 7bc34ce51728b7f3bcae22086bf2c283caaf2897 (diff) | |
download | aur-6300034740e0ecbab50da2b72d20915e965b24ac.tar.gz |
new version 0.26.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 25 insertions, 19 deletions
@@ -1,21 +1,17 @@ -# Generated by mksrcinfo v8 -# Sat Sep 3 20:31:34 UTC 2016 pkgbase = liblomse pkgdesc = A music score renderization/edition library - pkgver = 0.20.0 - pkgrel = 5 + pkgver = 0.26.0 + pkgrel = 1 url = http://www.lenmus.org/en/lomse/intro arch = i686 arch = x86_64 groups = devel license = custom:BSD 2-clause - makedepends = cmake>=2.8 + makedepends = cmake makedepends = unittestpp - makedepends = boost>=1.42 - depends = freetype2>=2.3.5 - depends = boost-libs>=1.42 - source = https://codeload.github.com/lenmus/lomse/tar.gz/0.20.0 - md5sums = 76c8dc0ab0d3d00d76908c30e5a5c4c9 + depends = freetype2 + source = liblomse-0.26.0.tar.gz::https://codeload.github.com/lenmus/lomse/tar.gz/0.26.0 + sha256sums = d8c36c6297325506a4519feca65639cb5c5586db64aa8dce558ac238770cf653 pkgname = liblomse @@ -1,34 +1,44 @@ # Maintainer: Uwe Koloska <kolewu@koloro.de> pkgname=liblomse -pkgver=0.20.0 -pkgrel=5 +pkgver=0.26.0 +pkgrel=1 pkgdesc="A music score renderization/edition library" arch=('i686' 'x86_64') url="http://www.lenmus.org/en/lomse/intro" license=('custom:BSD 2-clause') groups=('devel') -depends=('freetype2>=2.3.5' 'boost-libs>=1.42') -makedepends=('cmake>=2.8' 'unittestpp' 'boost>=1.42') +depends=('freetype2') +makedepends=('cmake' 'unittestpp') _vcsname=lomse -source=("https://codeload.github.com/lenmus/lomse/tar.gz/${pkgver}") -md5sums=('76c8dc0ab0d3d00d76908c30e5a5c4c9') +source=("${pkgname}-${pkgver}.tar.gz::https://codeload.github.com/lenmus/lomse/tar.gz/${pkgver}") +sha256sums=('d8c36c6297325506a4519feca65639cb5c5586db64aa8dce558ac238770cf653') build() { - cd "${srcdir}" rm -rf build mkdir build cd build - cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release "../${_vcsname}-${pkgver}" + cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release "../${_vcsname}-${pkgver}" make } +check() { + cd "${srcdir}/build" + ./bin/testlib +} + package() { cd "${srcdir}/build" DESTDIR="${pkgdir}/" make install - install -D -m644 "${srcdir}/${_vcsname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 "${srcdir}/${_vcsname}-${pkgver}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # remove reference to srcdir that is only used for tests + sed -i -e '/test scores and for fonts/s/s, for test scores and//;/TESTLIB_/d' \ + ${pkgdir}/usr/include/lomse/lomse_config.h } |