diff options
author | root <root@rshg054.dnsready.net> | 2012-03-26 00:01:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-26 00:01:46 +0000 |
commit | f96a2208b6a0ba89c3d824514a3929f08d79f7bf (patch) | |
tree | 88c1033b9ec826ca6da1f1847685957bce496c62 /community/gnac | |
parent | 891f44722456b693d99b397f7e332a9ed68a47a2 (diff) |
Mon Mar 26 00:01:45 UTC 2012
Diffstat (limited to 'community/gnac')
-rw-r--r-- | community/gnac/PKGBUILD | 33 | ||||
-rw-r--r-- | community/gnac/gnac.install | 13 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community/gnac/PKGBUILD b/community/gnac/PKGBUILD new file mode 100644 index 000000000..9abd3206f --- /dev/null +++ b/community/gnac/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 68399 2012-03-24 07:12:29Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=gnac +pkgver=0.2.4 +pkgrel=2 +pkgdesc="Audio converter for GNOME" +arch=('i686' 'x86_64') +url="http://gnac.sourceforge.net/" +license=('GPL') +depends=('libnotify' 'libunique3' 'gstreamer0.10-base-plugins' 'dconf' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool' 'gnome-doc-utils') +optdepends=('gstreamer0.10-good-plugins: Extra media codecs' + 'gstreamer0.10-bad-plugins: Extra media codecs' + 'gstreamer0.10-ugly-plugins: Extra media codecs' + 'gstreamer0.10-ffmpeg: Extra media codecs') +install=$pkgname.install +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('8794871d1abd8c186dd5b01d53f1e62e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community/gnac/gnac.install b/community/gnac/gnac.install new file mode 100644 index 000000000..aa4c3e059 --- /dev/null +++ b/community/gnac/gnac.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |