summaryrefslogtreecommitdiff
path: root/community/xnoise
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-27 01:22:37 -0800
committerroot <root@rshg054.dnsready.net>2012-12-27 01:22:37 -0800
commit4b9819d98573d82cec1b07beb719390f5fa4aed1 (patch)
tree5606de36a177647ce905bc34a28b7f01806d4ff3 /community/xnoise
parent93079feae1048abe4ebe1ddc66197f31e1206101 (diff)
Thu Dec 27 01:22:36 PST 2012
Diffstat (limited to 'community/xnoise')
-rwxr-xr-xcommunity/xnoise/PKGBUILD33
-rw-r--r--community/xnoise/xnoise.install13
2 files changed, 46 insertions, 0 deletions
diff --git a/community/xnoise/PKGBUILD b/community/xnoise/PKGBUILD
new file mode 100755
index 000000000..e44b7b3f7
--- /dev/null
+++ b/community/xnoise/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: archtux <antonio dot arias99999 at gmail dot com>
+
+pkgname=xnoise
+pkgver=0.2.14
+pkgrel=5
+pkgdesc="Media player with a slick GUI, great speed and lots of features."
+arch=('i686' 'x86_64')
+url="http://www.xnoise-media-player.com/"
+license=('GPL2')
+depends=('desktop-file-utils' 'gnome-icon-theme' 'gstreamer0.10-base-plugins' 'gtk3' 'libsoup' 'sqlite' 'taglib')
+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
+}
diff --git a/community/xnoise/xnoise.install b/community/xnoise/xnoise.install
new file mode 100644
index 000000000..8f2bcd263
--- /dev/null
+++ b/community/xnoise/xnoise.install
@@ -0,0 +1,13 @@
+
+post_install() {
+ gtk-update-icon-cache -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}