summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd0307b8bbe03c3129379f99335bec7e2b5f9387 (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
# Contributor: Robert Schwarz <mail@rschwarz.net>
pkgname=fishnpitch-git
pkgver=2010.01.28.4168095
pkgrel=1
pkgdesc="a JACK MIDI real-time tuner"
arch=('i686' 'x86_64')
url="https://github.com/leethargo/fishnpitch"
license=('GPL3')
depends=('jack-audio-connection-kit')
makedepends=('jack-audio-connection-kit')
provides=(fishnpitch)
conflicts=(fishnpitch)
source=("$pkgname"::"git://github.com/leethargo/fishnpitch.git")
md5sums=('SKIP')

pkgver() {
    cd "$pkgname"
    git log -1 --format="%cd.%h" --date=short | sed 's/-/./g'
}

build() {
    cd "$pkgname"
    make
}

package() {
    cd "$pkgname"
    mkdir -p ${pkgdir}/usr/bin
    cp fishnpitch ${pkgdir}/usr/bin
}