summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 645f4133a401d3a9c22724009b9cd8b57d3d0554 (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
# Maintainer: rafaelff <rafaelff@gnome.org>

_name=buzzmachines
pkgname=$_name-git
pkgver=20100517.r263.92aaed2
pkgrel=1
pkgdesc="Audio generators and effects using an API designed by Jeskola Buzz"
arch=('x86_64')
url="https://www.buzztrax.org/"
license=('LGPL-2.1-or-later')
makedepends=('git')
source=("git+https://github.com/Buzztrax/$_name.git")
md5sums=('SKIP')

pkgver() {
    cd "$_name"
    v=$(grep AC_INIT configure.ac | awk -F'[][]' '{print $4}')
    r=$(git rev-list --count HEAD)
    h=$(git rev-parse --short HEAD)
    printf "$v.r$r.$h"
}

build() {
    cd "$_name"
    ./autogen.sh --prefix=/usr                        
    make
}

package() {
    cd "$_name"
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install
}