summaryrefslogtreecommitdiff
path: root/community/mp3splt-gtk/PKGBUILD
blob: 9cabae9ccfc537ce3e8cdb9f18e6bbd61d019416 (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
36
# $Id: PKGBUILD 54576 2011-08-20 18:15:41Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=mp3splt-gtk
pkgver=0.7
pkgrel=1
pkgdesc="Split mp3 and ogg files without decoding"
arch=('i686' 'x86_64' 'mips64el')
url="http://mp3splt.sourceforge.net/"
license=('GPL')
depends=('desktop-file-utils' 'gstreamer0.10-ffmpeg' 'gtk2' 'libgnomeui' 'libmp3splt')
makedepends=('gnome-doc-utils' 'pkgconfig')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz \
        $pkgname.desktop)
sha256sums=('e52935ef5f9be41c2eacd8c8a473366bad0aa7472de5916e088da3d19a673c7f'
            'a50dd43c28a723c824d658b9468ff3719dcc302c57ecb3b122124e63c20800ed')

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

  ./configure --prefix=/usr --disable-mp3splttest --disable-audacious
  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
}
sha256sums=('67046b0ab119907e8614089d42f180bdca034e758e24e2d078308e4d26fe8fd0'
            'a50dd43c28a723c824d658b9468ff3719dcc302c57ecb3b122124e63c20800ed')