summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62cb37965249aa876eb6ce12467e063d6d984f14 (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
# Maintainer:  VirtualTam <virtualtam@flibidi.net>
# Contributor: speps <speps@aur.archlinux.org>
# Contributor: Felipe Machado aka arch_audio <machado.felipe@gmail.com>
# Contributor: Johannes Schriewer <jschriewer@gmail.com> package
# G.R.E.A - Grupo Recifense de Estudos do Archlinux (recife's group of archlinux research)

pkgname=sooperlooper
pkgver=1.7.3
pkgrel=4
pkgdesc="Live looping sampler capable of immediate loop recording"
arch=('i686' 'x86_64')
url="http://essej.net/sooperlooper/"
license=('GPL')
depends=('jack' 'liblo' 'libsigc++' 'libxml2' 'rubberband' 'wxgtk2.8')
optdepends=('libsamplerate: audio sample rate conversion')
install="${pkgname}.install"
source=("${url}${pkgname}-${pkgver}.tar.gz"
        "0001-trackable.patch"
        "0002-sigc-namespace.patch"
        "${pkgname}.desktop"
        "slgui.png")
sha256sums=('7a7dbdedb5dab28fb1f98ba5827d88df4c7327909ab87f6def167517786f4f58'
            '4781ae65b1abd775152d3ae1edf5c4ce7074c5545827d618bd616f72ea67052d'
            '6fe4123483cfba9394de468c5d599d868fbd70c0fcb14d034e3ba40a14df53c5'
            'add385c13329e0d28b4d89d1a08953d09013a896c80bbda7fe450de4bd279507'
            '465dfb14154899eae5435afa7b2e04b2cbb8463fc3b60c465246628e496b3d85')

prepare() {
  patch -p1 < 0001-trackable.patch
  patch -p1 < 0002-sigc-namespace.patch
}

build() {
  cd "${pkgname}-${pkgver}"
  CPPFLAGS=-std=c++11 ./configure \
          --prefix=/usr \
          --with-wxconfig-path=/usr/bin/wx-config-2.8
  make
}

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 ../${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  install -Dm644 ../slgui.png "${pkgdir}/usr/share/pixmaps/slgui.png"
}