Date: Saturday, January 11, 2014 @ 13:42:06 Author: alucryd Revision: 103776
archrelease: copy trunk to community-staging-any Added: rubyripper/repos/community-staging-any/ rubyripper/repos/community-staging-any/PKGBUILD (from rev 103775, rubyripper/trunk/PKGBUILD) rubyripper/repos/community-staging-any/rubyripper.install (from rev 103775, rubyripper/trunk/rubyripper.install) --------------------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ rubyripper.install | 11 +++++++++++ 2 files changed, 52 insertions(+) Copied: rubyripper/repos/community-staging-any/PKGBUILD (from rev 103775, rubyripper/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2014-01-11 12:42:06 UTC (rev 103776) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@gmail.com> +# Contributor: Dave Reisner <dreis...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +pkgname=rubyripper +pkgver=0.6.2 +pkgrel=5 +pkgdesc='Secure audiodisc ripper' +arch=('any') +url='http://code.google.com/p/rubyripper/' +license=('GPL3') +depends=('cdparanoia' 'gtk2' 'hicolor-icon-theme' 'ruby-iconv') +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="${pkgname}.install" +source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('817a800ba9a8eca9a8130fad861913c8ebdc4ec3011135e216b41007fc989ebb') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix='/usr' --enable-{cli,gtk2} --ruby="$(ruby -e 'v = RbConfig::CONFIG["vendorlibdir"] ; v["/usr"] = ""; puts v')" +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: Copied: rubyripper/repos/community-staging-any/rubyripper.install (from rev 103775, rubyripper/trunk/rubyripper.install) =================================================================== --- community-staging-any/rubyripper.install (rev 0) +++ community-staging-any/rubyripper.install 2014-01-11 12:42:06 UTC (rev 103776) @@ -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; }