diff options
author | root <root@rshg054.dnsready.net> | 2012-04-03 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-03 00:01:35 +0000 |
commit | c7cb603f86b4d4fb6567e3faa15b916a306f7004 (patch) | |
tree | bfdbca0002d6aeecc13f29a1c14d3991e6e93d4c /testing/sound-juicer | |
parent | 321f44e3a5da426309c4b6664af035c97f907565 (diff) |
Tue Apr 3 00:01:35 UTC 2012
Diffstat (limited to 'testing/sound-juicer')
-rw-r--r-- | testing/sound-juicer/PKGBUILD | 36 | ||||
-rw-r--r-- | testing/sound-juicer/sound-juicer.install | 24 |
2 files changed, 60 insertions, 0 deletions
diff --git a/testing/sound-juicer/PKGBUILD b/testing/sound-juicer/PKGBUILD new file mode 100644 index 000000000..ecd560624 --- /dev/null +++ b/testing/sound-juicer/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 155258 2012-04-01 11:37:00Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Ben <contrasutra@myrealbox.com> + +pkgname=sound-juicer +pkgver=3.4.0 +pkgrel=1 +pkgdesc="A cd ripper application" +arch=(i686 x86_64) +license=('GPL') +depends=('libmusicbrainz4' 'libdiscid' 'gtk3' 'gstreamer0.10-base-plugins' + 'gstreamer0.10-good-plugins' 'brasero' 'hicolor-icon-theme') +makedepends=('intltool' 'gnome-doc-utils') +options=(!emptydirs) +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +groups=('gnome-extra') +install=sound-juicer.install +sha256sums=('49805cc73617e745ee09b62fec46979387e5713d39e5f75320b91ee8f0c44f12') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./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/testing/sound-juicer/sound-juicer.install b/testing/sound-juicer/sound-juicer.install new file mode 100644 index 000000000..5286a0055 --- /dev/null +++ b/testing/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 +} |