summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 00c61cdf94c25fe262878ace6c17a033d49d0aa4 (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
# Maintainer: Darrell Enns <darrell@darrellenns.com>
pkgname=tunescope-git
pkgver=r3.0c2e5f8
pkgrel=3
pkgdesc="An oscilloscope style guitar tuner"
arch=('any')
url="https://github.com/darrellenns/tunescope"
license=('GPL')
depends=(jack glut glu)
makedepends=(git cmake)
source=("${pkgname}"::'git+https://github.com/darrellenns/tunescope.git')
md5sums=('SKIP')

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

build() {
	cd "$pkgname/build"
	cmake -D CMAKE_INSTALL_PREFIX='/usr' ..
	make
}

package() {
	cd "$pkgname/build"
	make DESTDIR="$pkgdir/" install
}