summaryrefslogtreecommitdiff
path: root/community/goobox
diff options
context:
space:
mode:
Diffstat (limited to 'community/goobox')
-rw-r--r--community/goobox/PKGBUILD32
-rw-r--r--community/goobox/goobox.install13
2 files changed, 45 insertions, 0 deletions
diff --git a/community/goobox/PKGBUILD b/community/goobox/PKGBUILD
new file mode 100644
index 000000000..41024fa62
--- /dev/null
+++ b/community/goobox/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 90865 2013-05-15 04:00:47Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=goobox
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="CD player and ripper for GNOME"
+arch=('i686' 'x86_64')
+url="http://people.gnome.org/~paobac/goobox/"
+license=('GPL')
+depends=('gst-plugins-base' 'brasero' 'libmusicbrainz5' 'libdiscid' 'libcoverart' 'libnotify' 'xdg-utils')
+makedepends=('intltool' 'itstool')
+optdepends=('gst-plugins-good: rip CDs into flac and wav formats')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('c2dba51881902cad3593fc3b3dafd3c12038173a27c623350f1771a1bfbf09a7')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's/LIBCOVERART_REQUIRED=1.0.0beta1/LIBCOVERART_REQUIRED=1.0.0/' configure{,.ac}
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/goobox/goobox.install b/community/goobox/goobox.install
new file mode 100644
index 000000000..aa4c3e059
--- /dev/null
+++ b/community/goobox/goobox.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}