summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ebdf57fab77803a29fc9e70dab42a661d7c6712 (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
# Maintainer: f4iey <f4iey@f6kgl.ampr.org>
pkgname=fate-git
pkgver=r12.7ed9e57
pkgrel=1
pkgdesc="Minimal CLI JS8 software"
arch=('any')
license=('MIT')
url="https://github.com/rtmrtmrtmrtm/fate"
depends=('fftw' 'libsndfile' 'portaudio')
source=($pkgname::"git+$url.git")

sha256sums=('SKIP')

build() {
    cd $srcdir/$pkgname
    make
}

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

package() {
    cd $srcdir/$pkgname
    install -Dm755 "./fate" "$pkgdir/usr/bin/fate"
}