summaryrefslogtreecommitdiff
path: root/community/xnoise/PKGBUILD
blob: 0ca15e5a03f4f5ff40b08c6c04589f285daf942b (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
37
# $Id: PKGBUILD 82522 2013-01-20 02:39:18Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: archtux <antonio dot arias99999 at gmail dot com>

pkgname=xnoise
pkgver=0.2.14
pkgrel=6
pkgdesc="Media player with a slick GUI, great speed and lots of features."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xnoise-media-player.com/"
license=('GPL2')
depends=('desktop-file-utils' 'gnome-icon-theme' 'gstreamer0.10-base-plugins' 'gtk3' 'libsoup' 'sqlite' 'taglib')
optdepends=('gstreamer0.10-good-plugins: Extra media codecs'
	    'gstreamer0.10-bad-plugins: Extra media codecs'
            'gstreamer0.10-ugly-plugins: Extra media codecs'
	    'gstreamer0.10-ffmpeg: Extra media codecs')
makedepends=('gettext' 'intltool')
options=('!libtool')
install=$pkgname.install
source=("https://bitbucket.org/shuerhaaken/xnoise/downloads/$pkgname-$pkgver.tar.gz")
md5sums=('774b52c94d5b1d3de963307835ade35b')


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

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  
  # Remove obsolete files
  rm -rf $pkgdir/usr/include $pkgdir/usr/share/vala
}