summaryrefslogtreecommitdiff
path: root/pcr-testing/gsequencer/PKGBUILD
blob: b72902e0ff07abaab42b2554e228ed676896f45a (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 (AUR): JoëlKrähemann <jkraehemann@gmail.com>
# Maintainer: bill-auger <bill-auger@programmer.net>


pkgname=gsequencer
pkgver=1.4.31
pkgrel=1
pkgdesc="Advanced Gtk+ Sequencer"
arch=('i686' 'x86_64')
license=('GPL')
url=http://www.nongnu.org/gsequencer/

makedepends=('cairo' 'fontconfig' 'gtk2' 'gdk-pixbuf2' 'libinstpatch' 'libpulse' 'libx11' 'libxml2')
depends=('dssi' 'ladspa' 'lv2')
provides=('gsequencer' 'midi2xml')

_release=${pkgname}-${pkgver}
_build_dir=${_release}
source=(https://download.savannah.gnu.org/releases/${pkgname}/${pkgver%.*}.x/${_release}.tar.gz
        alsa-replace-pulse.patch)
sha256sums=('e293937f90415e7916114dc8223882c21dc1e8b9136b952b99af5aa923f96fe2'
            'df4f22779ec1b476c368229d89beb661adb7a6817d148dc48be827b00c63f3f1')


prepare()
{
  cd ${_build_dir}

  patch -p0 < ${srcdir}/alsa-replace-pulse.patch
}

build()
{
  cd ${_build_dir}

  autoreconf -ifv
  ./configure --prefix=/usr
  make
}

package()
{
  cd ${_build_dir}

  make DESTDIR=${pkgdir} install
}