updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / ttrk / PKGBUILD
blobd2befca121fdde3395df5c8a0892924c859f6b9c
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
3 pkgname=ttrk
4 pkgver=0.7.0
5 pkgrel=1
6 pkgdesc="Tektracker is a console based MIDI tracker/sequencer.  Requires /dev/midi."
7 arch=('i686' 'x86_64')
8 url="http://vektor.ca/audio/ttrk/"
9 license=('GPLv2')
10 depends=('slang' 'zlib')
11 optdepends=()
12 source=(http://vektor.ca/audio/$pkgname/$pkgname-$pkgver.tar.gz)
13 md5sums=('168dde66d1b8e0d3cb44b70c4c541537')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   
18   # little patches to make it compile
19   sed -i 's/song.h>/song.h>\n#include <stdlib.h>\n#include <string.h>/' src/screen.cpp
20   sed -i 's/pwd.h>/pwd.h>\n#include <stdlib.h>/' src/utils.cpp
22   ./configure --prefix=/usr
23   make
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir" install