summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a5869d5bb2e595efec0e5e5eb3f8d81c3a25959 (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
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=prosystem-highscore-git
pkgver=1.5.2.r71.ga2c3e56
pkgrel=1
pkgdesc="Highscore port of ProSystem JG"
arch=('x86_64')
url="https://gitlab.com/alice-m/prosystem"
license=('GPL-2.0-or-later')
depends=('libhighscore-git')
makedepends=(
  'git'
  'meson'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://gitlab.com/alice-m/prosystem.git')
sha256sums=('SKIP')

pkgver() {
  cd prosystem
  git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd prosystem
  arch-meson highscore build
  meson compile -C build
}

package() {
  cd prosystem
  meson install -C build --no-rebuild --destdir "$pkgdir"
}