summaryrefslogtreecommitdiff
path: root/pcr/setbfree/PKGBUILD
blob: c17511f47f5907703494ca71dbbd68f882adb828 (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

pkgname=setbfree
pkgver=0.7.3
pkgrel=1
pkgdesc="A DSP Tonewheel Organ emulator."
arch=(i686 x86_64)
url="http://setbfree.org/"
license=('GPL')
depends=('jack' 'liblo' 'tk' 'desktop-file-utils')
makedepends=('lv2')
install="$pkgname.install"
source=("https://github.com/pantherb/setBfree/tarball/v$pkgver"
        "https://raw.github.com/pantherb/setBfree/master/debian/setbfree.desktop")
md5sums=('8b7b077dfb784927c7103948083e1f04'
         '8c2a863562f26856dcff0a456cf36dcf')

build() {
  cd "$srcdir/pantherb"*
  make PREFIX=/usr
}

package() {
  cd "$srcdir/pantherb"*
  make DESTDIR="$pkgdir/" PREFIX=/usr install

  # desktop file
  install -Dm644 ../$pkgname.desktop \
    "$pkgdir/usr/share/applications/$pkgname.desktop"

  # icon
  install -Dm644 doc/setBfree.png \
    "$pkgdir/usr/share/icons/setBfree.png"

  # man
  install -d "$pkgdir/usr/share/man/man1"
  install -Dm644 doc/*.1 \
    "$pkgdir/usr/share/man/man1"

  # docs
  install -d "$pkgdir/usr/share/doc/$pkgname"
  install -Dm644 doc/{midi.txt,signal_flow.png} \
    "$pkgdir/usr/share/doc/$pkgname"
}

# vim:set ts=2 sw=2 et: