summaryrefslogtreecommitdiff
path: root/community/mp3splt-gtk/PKGBUILD
blob: 51f4f8a491aedc59e682d1d885f1c3a37701af51 (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
# $Id: PKGBUILD 29245 2010-10-11 18:43:38Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=mp3splt-gtk
pkgver=0.6
pkgrel=1
pkgdesc="Split mp3 and ogg files without decoding"
arch=('i686' 'x86_64' 'mips64el')
url="http://mp3splt.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'libmp3splt')
makedepends=('pkgconfig' 'desktop-file-utils')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz \
        $pkgname.desktop)
md5sums=('0a88bf1a8928a36842a35a174ab18aa3'
         '9e5a5748d40594e0090e7ceed903c674')

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

  ./configure --prefix=/usr --disable-mp3splttest --disable-audacious --disable-gstreamer
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver
  make DESTDIR=${pkgdir} install

#install .desktop file
  install -D -m644 ${srcdir}/$pkgname.desktop \
    ${pkgdir}/usr/share/applications/$pkgname.desktop
}