updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / cuse / PKGBUILD
blob1dcde0279f254b3ac03c7b90fc3622725dc6a042
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 pkgname=cuse
3 pkgver=0.51
4 pkgrel=1
5 pkgdesc="MIDI sequencer for the terminal"
6 arch=('x86_64' 'i686')
7 url="http://pi4.informatik.uni-mannheim.de/~haensel/cuse/index_en.html"
8 license=('GPL')
9 depends=('libcdk')
10 md5sums=('6c40c56f1076f66f9e0d5f4185562793')
11 source=("http://pi4.informatik.uni-mannheim.de/~haensel/cuse/files/$pkgname-$pkgver-src.tar.gz")
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
16   msg2 "Configuring..."
17   ./configure --prefix=/usr CXXFLAGS="-fpermissive" 
19   msg2 "Building..."
20   make
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   msg2 "Packaging..."
27   make DESTDIR="$pkgdir/" install
29   msg2 "Packaging the documentation..."
30   mkdir -p "$pkgdir/usr/share/doc/$pkgname"
31   cp doc/*_en.html "$pkgdir/usr/share/doc/$pkgname/"
32   cp -r doc/images "$pkgdir/usr/share/doc/$pkgname/"
33   mv "$pkgdir/usr/share/doc/$pkgname/index_en.html" \
34     "$pkgdir/usr/share/doc/$pkgname/index.html"
35   find "$pkgdir/usr/share/doc" -name "*~" -exec rm -r {} +
37   msg2 "Packaging the license..."
38   install -Dm644 COPYING \
39     $pkgdir/usr/share/licenses/$pkgname/COPYING
42 # vim:set ts=2 sw=2 et: