summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c6e822e9c624129318eb01ca40fe5c6971883539 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Milkii Brewster <milkii on Freenode IRC>
maintaner="Milkii Brewster <milkii on Freenode IRC>"
_pkgname="bjumblr.lv2"
pkgname="${_pkgname}-git"
pkgdesc="Pattern-controlled audio stream re-sequencer LV2 plugin"
pkgver=r132.c004205
pkgrel=1
epoch=
arch=(x86_64)
url="https://github.com/sjaehn/BJumblr"
license=(GPL)
groups=()
depends=('lv2')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("bjumblr.lv2::git+https://github.com/sjaehn/BJumblr")
noextract=()
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

prepare() {
	cd "$_pkgname"
}

build() 
{
	cd "$_pkgname"
	# ./configure --prefix=/usr
	make
}

package() {
	cd "$_pkgname"
	make PREFIX="/usr" DESTDIR="$pkgdir/" install
}