summaryrefslogtreecommitdiff
path: root/community/gigedit/PKGBUILD
blob: 179d5aa4685531427cc48341aceb1751889d9e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 67675 2012-03-13 18:24:44Z lcarlier $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: svoufff <svoufff at gmail dot com>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>

pkgname=gigedit
pkgver=0.2.0
pkgrel=2
pkgdesc="Gigasampler instrument editor"
arch=(i686 x86_64)
url="http://www.linuxsampler.org/"
license=('GPL')
depends=('linuxsampler' 'gtkmm' 'libsigc++')
makedepends=('intltool')
options=('!libtool' '!makeflags')
source=(http://download.linuxsampler.org/packages/$pkgname-$pkgver.tar.gz)
md5sums=('eadfc82118460206e8f83c104f9d2a3a')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # fix linking
  sed -i -e 's/@LIBS@/@LIBS@ -lsigc-2.0/g' src/gigedit/Makefile.in

  ./configure --prefix=/usr
  make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: