# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Wael Nasreddine pkgname=tse3 pkgver=0.3.1 pkgrel=2 pkgdesc="TSE3 is a powerful open source sequencer engine written in C++." arch=('i686' 'x86_64') depends=('alsa-lib' 'gcc-libs') makedepends=() options=('!libtool') url="http://tse3.sourceforge.net/" license=('GPL') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \ tse3-0.2.7-gcc4.patch \ tse3-0.2.7-size_t-64bit.patch) md5sums=('3b7e35505160e2d761e5b43abb636f3c' '8e4852bb1d17c8921b3599712fda8484' '71287d128bdfd588b7c22645025e4b31') build() { cd $startdir/src/$pkgname-$pkgver # patch -p1 -i $srcdir/tse3-0.2.7-gcc4.patch # [ "$CARCH" = "x86_64" ] && patch -Np0 -i \ # $startdir/src/tse3-0.2.7-size_t-64bit.patch # # ./configure --prefix=/usr --with-alsa --without-arts --without-oss \ # || return 1 # make || return 1 make DESTDIR=$startdir/pkg install || return 1 mkdir -p $pkgdir/usr/share mv $pkgdir/usr/man $pkgdir/usr/share/ }