blob: c4c35c76d5f24f84d82c9369cc5aadf61ada8dff (
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
47
|
# $Id: PKGBUILD 229588 2015-01-19 16:59:30Z schiv $
# Maintainer (Arch): Ray Rashif <schiv@archlinux.org>
# Contributor (Arch): tobias <tobias@archlinux.org>
# Contributor (Arch): see .contrib
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=hydrogen
pkgver=0.9.6.1
pkgrel=1.parabola1
pkgdesc="An advanced drum machine, without nonfree drumkits recommendation"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.hydrogen-music.org/"
depends=('libarchive' 'liblrdf' 'qt4' 'jack' 'libpulse')
optdepends=('rubberband')
makedepends=('cmake')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
source=("https://github.com/hydrogen-music/hydrogen/archive/$pkgver.tar.gz")
install=$pkgname.install
md5sums=('527a44eec22fd31f55e6b3cf1089613d')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# Change to list with free licensed drumkits only
sed -i -e 's|www[.]hydrogen-music[.]org/feeds/drumkit_list[.]php|repo.parabola.nu/other/hydrogen-libre/feeds/drumkit_list.php|'\
$(grep -rlI 'www[.]hydrogen-music[.]org/feeds/drumkit_list[.]php')
}
build() {
cd "$srcdir/$pkgname-$pkgver"
# lash will have to wait until I bring it into [extra] --schiv
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DWANT_CPPUNIT=OFF \
-DWANT_LRDF=ON
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|