updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / protrekkr / PKGBUILD
blob524e051d750126a9d4ff995ea3dc28db3af15c13
1 pkgname=protrekkr
2 pkgver=1.98k_linux_svn_357
3 pkgrel=1
4 pkgdesc="Tracker program to create electronic music (like psytrance, trance goa, hard acid, IDM, chip, techno, etc.) for small sized intros, demos or games."
5 arch=(i686 x86_64)
6 url="http://code.google.com/p/protrekkr/"
7 license=('BSD')
8 if [ "$CARCH" = "x86_64" ]; then
9     depends=('lib32-sdl' 'lib32-sdl_sound' 'lib32-sdl_mixer' 'lib32-sdl_ttf')
10 else
11     depends=('sdl' 'sdl_sound' 'sdl_mixer' 'sdl_ttf')
13 makedepends=()
14 provides=('protrekkr')
15 conflicts=('protrekkr')
16 install=
17 source=("http://protrekkr.googlecode.com/files/ptk_v$pkgver.zip" "protrekkr.desktop")
18 md5sums=('b8aeee60e7b820610f89dc07fa4ae902' 'ba3014ba47bed3518bbb369ebdc26bac')
21 build() {
22         cd "$srcdir"
24     # install the app
25     mkdir -p "$pkgdir/opt/ptk"
26     cp -rf * "$pkgdir/opt/ptk"
28     # sym link to binary
29     mkdir -p "$pkgdir/usr/bin"
30     ln -s "/opt/ptk/ptk_linux" "$pkgdir/usr/bin/protrekkr"
32     # desktop file
33     mkdir -p "$pkgdir/usr/share/applications"
34     install -Dm0644 "$srcdir/protrekkr.desktop" "$pkgdir/usr/share/applications"