blob: c2b449f564c85d7b15465f84246acd1f06fc578f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: JP Cimalando <jp-dev inbox.ru>
pkgname=opl3bankeditor-git
_pkgname=OPL3BankEditor
pkgver=1.5.beta.r100.g603fbab
pkgrel=1
epoch=
pkgdesc="A small cross-platform editor of the OPL3 FM banks of different formats"
arch=('i686' 'x86_64')
url="https://github.com/Wohlstand/OPL3BankEditor"
license=('GPL3')
groups=()
depends=('qwt' 'jack' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('git' 'cmake' 'qt5-tools')
checkdepends=()
optdepends=()
provides=("opl3bankeditor")
conflicts=("opl3bankeditor")
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/Wohlstand/${_pkgname}.git")
noextract=()
md5sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
git submodule init
git submodule update
}
build() {
cd "$_pkgname"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd "$_pkgname"
make -C build install DESTDIR="$pkgdir"
}
|