diff options
Diffstat (limited to 'gnome-unstable/sound-juicer')
-rw-r--r-- | gnome-unstable/sound-juicer/PKGBUILD | 37 | ||||
-rw-r--r-- | gnome-unstable/sound-juicer/sound-juicer.install | 24 |
2 files changed, 61 insertions, 0 deletions
diff --git a/gnome-unstable/sound-juicer/PKGBUILD b/gnome-unstable/sound-juicer/PKGBUILD new file mode 100644 index 000000000..3afa2b1e1 --- /dev/null +++ b/gnome-unstable/sound-juicer/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 118432 2011-04-06 20:04:46Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributer: Ben <contrasutra@myrealbox.com> + +pkgname=sound-juicer +pkgver=2.32.1 +pkgrel=1 +pkgdesc="A cd ripper application" +arch=(i686 x86_64) +license=('GPL') +depends=('libmusicbrainz3' 'libgnome-media-profiles' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'brasero' 'hicolor-icon-theme') +makedepends=('intltool' 'gnome-doc-utils>=0.20.0' 'pkgconfig' 'gnome-common' 'gtk-doc') +options=(!emptydirs) +#source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz) +groups=('gnome-extra') +install=sound-juicer.install +url="http://www.burtonini.com/blog/computers/sound-juicer" +sha256sums=('09fd7ebaa24b20a98be82bc10a9733f2e8d45bb31fb95a12535672d85272d8c2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + 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/gnome-unstable/sound-juicer/sound-juicer.install b/gnome-unstable/sound-juicer/sound-juicer.install new file mode 100644 index 000000000..5286a0055 --- /dev/null +++ b/gnome-unstable/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 +} |