Date: Saturday, March 9, 2013 @ 18:22:16 Author: td123 Revision: 85945
archrelease: copy trunk to community-staging-any Added: rubyripper/repos/community-staging-any/ rubyripper/repos/community-staging-any/PKGBUILD (from rev 85944, rubyripper/trunk/PKGBUILD) rubyripper/repos/community-staging-any/rubyripper.install (from rev 85944, rubyripper/trunk/rubyripper.install) --------------------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ rubyripper.install | 11 +++++++++++ 2 files changed, 53 insertions(+) Copied: rubyripper/repos/community-staging-any/PKGBUILD (from rev 85944, rubyripper/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2013-03-09 17:22:16 UTC (rev 85945) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Dave Reisner <dreis...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +pkgname=rubyripper +pkgver=0.6.2 +pkgrel=3 +pkgdesc="Secure audiodisc ripper" +arch=('any') +url="http://code.google.com/p/rubyripper/" +license=('GPL3') +depends=('ruby' 'cdparanoia' 'gtk2' 'hicolor-icon-theme') +optdepends=('ruby-gtk2: GTK+ GUI' + 'cd-discid: Freedb support' + 'eject: Eject support' + 'lame: MP3 encoding support' + 'vorbis-tools: Ogg Vorbis encoding support' + 'flac: FLAC encoding support' + 'wavegain: WAV ReplayGain support' + 'mp3gain: MP3 ReplayGain support' + 'vorbisgain: Ogg Vorbis ReplayGain support' + 'normalize: Normalization support' + 'cdrdao: Advanced TOC analysis') +install=rubyripper.install +source=(http://rubyripper.googlecode.com/files/rubyripper-$pkgver.tar.bz2) +md5sums=('04ee16c117ef8d839c3681b62839e8af') + +build() { + cd $srcdir/rubyripper-$pkgver + + ./configure \ + --prefix=/usr \ + --enable-gtk2 \ + --enable-cli \ + --ruby=$(ruby -e 'v = RbConfig::CONFIG["vendorlibdir"] ; v["/usr"] = ""; puts v') +} + +package() { + cd $srcdir/rubyripper-$pkgver + + make DESTDIR=$pkgdir install +} Copied: rubyripper/repos/community-staging-any/rubyripper.install (from rev 85944, rubyripper/trunk/rubyripper.install) =================================================================== --- community-staging-any/rubyripper.install (rev 0) +++ community-staging-any/rubyripper.install 2013-03-09 17:22:16 UTC (rev 85945) @@ -0,0 +1,11 @@ +#!/bin/sh + +update_icon_cache() { + if type gtk-update-icon-cache >/dev/null 2>&1; then + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + fi +} + +post_install() { update_icon_cache; } +post_upgrade() { update_icon_cache; } +post_remove() { update_icon_cache; }