updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / renoise / PKGBUILD
blob710def24281e36b74a9e56a9f56923bf1e7881a5
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
6 pkgver=2.7.0
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=('7b70a52ceea4f3715f05004385df5ead')
18  } || {
19   md5sums=('457770e0492412f8f97d7d1d2fcc7485')
20  }
21 source=("http://www.renoise.com/files/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"