diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/sound-juicer |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/sound-juicer')
-rw-r--r-- | extra/sound-juicer/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/sound-juicer/sound-juicer.install | 24 |
2 files changed, 55 insertions, 0 deletions
diff --git a/extra/sound-juicer/PKGBUILD b/extra/sound-juicer/PKGBUILD new file mode 100644 index 000000000..49f8f50e3 --- /dev/null +++ b/extra/sound-juicer/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 110458 2011-02-19 15:59:30Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributer: Ben <contrasutra@myrealbox.com> + +pkgname=sound-juicer +pkgver=2.32.0 +pkgrel=2 +pkgdesc="A cd ripper application" +arch=(i686 x86_64) +license=('GPL') +depends=('libmusicbrainz3>=3.0.3' 'gnome-media>=2.32.0' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'brasero>=2.32.0' 'hicolor-icon-theme') +makedepends=('intltool' 'gnome-doc-utils>=0.20.0' 'pkgconfig') +options=(!emptydirs) +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +groups=('gnome-extra') +install=sound-juicer.install +url="http://www.burtonini.com/blog/computers/sound-juicer" +sha256sums=('f6040e19e50094daff9699dea3e9884ce3226a61f28acbe9ad3a0458975a305a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-scrollkeeper + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain sound-juicer ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/sound-juicer/sound-juicer.install b/extra/sound-juicer/sound-juicer.install new file mode 100644 index 000000000..5286a0055 --- /dev/null +++ b/extra/sound-juicer/sound-juicer.install @@ -0,0 +1,24 @@ +pkgname=sound-juicer + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |