diff options
Diffstat (limited to 'testing/hydrogen/PKGBUILD')
-rw-r--r-- | testing/hydrogen/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/hydrogen/PKGBUILD b/testing/hydrogen/PKGBUILD new file mode 100644 index 000000000..d569072cf --- /dev/null +++ b/testing/hydrogen/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 145942 2012-01-04 13:11:39Z dreisner $ +# Maintainer: tobias <tobias@archlinux.org> +# Maintainer: Ray Rashif <schiv@archlinux.org> +# Contributor: K. Piche <kpiche@rogers.com> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=hydrogen +pkgver=0.9.5 +pkgrel=2 +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=('e96f291d60e58f5d62fe616cee577dc0' + '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: |