summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05012aef0139f4a3544163cfee1c7dede1c7e6db (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
# Maintianer: milkii on Freenode
# Creator: archlinux.info:tdy

pkgname=konfyt-git
pkgver=r181.81b5295
pkgrel=1
pkgdesc="A digital keyboard workstation - search for SFZs/soundfonts, create layered patches on the fly, and more"
arch=(i686 x86_64)
url=https://github.com/noedigcode/konfyt
license=(GPL3)
depends=(carla liblscp)
makedepends=(git)
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=($pkgname::git+https://github.com/noedigcode/${pkgname/-/.})
md5sums=(SKIP)

pkgver() {
  cd $pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $pkgname
  qmake ${pkgname%-git}.pro
  make
}

package() {
  cd $pkgname
  install -Dm755 ${pkgname%-git} "$pkgdir"/usr/bin/${pkgname%-git}
}