summaryrefslogtreecommitdiff
path: root/extra/hydrogen/PKGBUILD
blob: 009097fa01dce4f6cdcc4e4e22c3921cec4883b3 (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
# $Id: PKGBUILD 175681 2013-01-19 13:13:55Z schiv $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=hydrogen
pkgver=0.9.5.1
pkgrel=1
pkgdesc="Advanced Drum Machine"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.hydrogen-music.org/"
depends=('libarchive' 'liblrdf' 'qt' 'jack')
makedepends=('scons')
#options=('!makeflags')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
        lrdf_raptor2.patch
        install.patch)
md5sums=('52f3a528705818c65acf546a3be4c6fb'
         '2124851e890f46158189b5fa90006d40'
         'ce3a83a069b55e46aa532b55e803c9a5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  export QTDIR=/usr
  patch -Np1 -i "${srcdir}/lrdf_raptor2.patch"
  # http://www.assembla.com/spaces/hydrogen/tickets/204
  patch -Np0 -i "${srcdir}/install.patch"
  scons prefix=/usr libarchive=1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  scons DESTDIR="${pkgdir}" install
}

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