updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / eko / PKGBUILD
blobdff05a42a61188a19bf85e8ad27b7389a392569c
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=eko
4 pkgver=0.6.0
5 pkgrel=1
6 pkgdesc="A simple sound editor based on Qt, libsndfile, and libsample rate."
7 arch=(i686 x86_64)
8 url="http://eko.sourceforge.net/"
9 license=('GPL')
10 depends=('qt' 'jack')
11 install="$pkgname.install"
12 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.bz2"
13         "$pkgname.desktop")
14 md5sums=('a4a48be774d79672ba96035dc70ada96'
15          'a10ec56761ce95a8f8e7c9fa464ad0bb')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   qmake PREFIX=/usr
21   make
24 package() {
25   cd "$srcdir/$pkgname-$pkgver"
27   make INSTALL_ROOT="$pkgdir/" install
29   # desktop file
30   install -Dm644 ../$pkgname.desktop \
31     "$pkgdir/usr/share/applications/$pkgname.desktop"
33   # icon
34   install -Dm644 icons/${pkgname}_icon.png \
35     "$pkgdir/usr/share/pixmaps/$pkgname.png"