updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / renoise-demo / PKGBUILD
blobb2400e804bfe5beca7fbdc233b5c22b45158d772
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: berkus <berkus@madfire.net>
3 # Contributor: hm_b <holger@music-nerds.net>
5 pkgname=renoise-demo
6 pkgver=2.7.2
7 pkgrel=1
8 pkgdesc="A sophisticated music sequencer and audio processing application"
9 arch=('i686' 'x86_64')
10 url="http://www.renoise.com"
11 license=('custom:renoise')
12 depends=('alsa-lib' 'libx11' 'gcc-libs')
13 optdepends=('jack: For JACK audio support')
14 makedepends=('xdg-utils')
15  [ $CARCH = "x86_64" ] && {
16   if64="_64"
17   md5sums=('bfc549c9d69048e2dd8befbbb2c9186d')
18  } || {
19   md5sums=('a0bc4067786b52bf2aeec201f51915aa')
20  }
21 source=("http://files.renoise.com/demo/Renoise_${pkgver//./_}_Demo_x86$if64.tar.bz2")
22 install=renoise.install
24 package () {
25  cd "$srcdir/Renoise_${pkgver//./_}_Demo_x86$if64"
27  mkdir -p "$pkgdir/usr/share/renoise-$pkgver"
28  cp -rf "Resources"/* "$pkgdir/usr/share/renoise-$pkgver"
30  install -Dm 755 "renoise" "$pkgdir/usr/bin/renoise"
31  install -Dm 644 "Installer/renoise.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/renoise.png"
32  install -Dm 644 "Installer/renoise.desktop" "$pkgdir/usr/share/applications/renoise.desktop"
33  install -Dm 644 "Installer/renoise.1.gz" "$pkgdir/usr/share/man/man1/renoise.1.gz"
34  install -Dm 644 "Installer/renoise-pattern-effects.5.gz" "$pkgdir/usr/share/man/man5/renoise-pattern-effects.5.gz" 
35  install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"