File PKGBUILD of Package powertabeditor
# Maintainer: Алыпов Андрей <and.november@opensuse.org>
pkgname=powertabeditor
pkgver=2.0.0alpha18
pkgrel=1
pkgdesc="View and edit guitar tablature"
arch=(x86_64)
url="https://powertab.github.io"
groups=()
license=(GPL-3.0)
depends=(nlohmann-json boost qt5-base alsa-lib minizip pugixml rtmidi jack2-dbus)
makedepends=(cmake qt5-tools doctest)
source=("${pkgname}-${pkgver}.tar.xz")
md5sums=('SKIP')
noextract=(${pkgname}-${pkgver}.tar.xz)
prepare() {
tar xf ${pkgname}-${pkgver}.tar.xz
}
build() {
cd ${pkgname}-${pkgver}/
cmake -B build -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
cmake --build build
}
package() {
cd ${pkgname}-${pkgver}/
cmake --install build
}