From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/gerbv/ChangeLog | 27 +++++++++++++++++++++++++++ community/gerbv/PKGBUILD | 28 ++++++++++++++++++++++++++++ community/gerbv/gerbv.install | 21 +++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 community/gerbv/ChangeLog create mode 100644 community/gerbv/PKGBUILD create mode 100644 community/gerbv/gerbv.install (limited to 'community/gerbv') diff --git a/community/gerbv/ChangeLog b/community/gerbv/ChangeLog new file mode 100644 index 000000000..3982ff4f9 --- /dev/null +++ b/community/gerbv/ChangeLog @@ -0,0 +1,27 @@ +2010-12-31 Stefan Husmann + * 2.4.0-2 + - Move to [community] + +2010-02-26 Jared Casper + * 2.4.0-1 + - Version bump + +2009-07-11 Jared Casper + * 2.3.0-1 + - Version bump + +2009-01-23 Jared Casper + * 2.2.0-1 + - Version bump + +2008-09-28 Jared Casper + * 2.1.0-1 + - Version bump + - Added icon cache update + - Added icon cache and desktop update to post_update + +2008-06-13 Jared Casper + + * 2.0.1-1 + - Version bump + - Added ChangeLog diff --git a/community/gerbv/PKGBUILD b/community/gerbv/PKGBUILD new file mode 100644 index 000000000..30a87c5aa --- /dev/null +++ b/community/gerbv/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Jared Casper +# Maintainer: Stefan Husmann + +pkgname=gerbv +pkgver=2.5.0 +pkgrel=1 +pkgdesc="an open source Gerber file (RS-274X only) viewer" +url="http://gerbv.gpleda.org/" +license=('GPL') +arch=('i686' 'x86_64') +depends=('gtk2' 'shared-mime-info' 'hicolor-icon-theme') +optdepends=('gdk-pixbuf: export of images' 'cairo: for better graphics') +install=$pkgname.install +source=("http://downloads.sourceforge.net/gerbv/$pkgname-$pkgver.tar.gz") +md5sums=('633a55473f62b96fff302ed1ed52c88e') + +build () +{ + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr \ + --disable-update-desktop-database + make +} +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} + diff --git a/community/gerbv/gerbv.install b/community/gerbv/gerbv.install new file mode 100644 index 000000000..8cfe0686c --- /dev/null +++ b/community/gerbv/gerbv.install @@ -0,0 +1,21 @@ +post_install() { +if [ -x /usr/bin/gtk-update-icon-cache ]; then + echo Updating icon cache... + /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor +fi +if [ -x /usr/bin/update-desktop-database ]; then + echo Updating desktop database.. + /usr/bin/update-desktop-database /usr/share/applications +fi +} + +post_upgrade() { +if [ -x /usr/bin/gtk-update-icon-cache ]; then + echo Updating icon cache... + /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor +fi +if [ -x /usr/bin/update-desktop-database ]; then + echo Updating desktop database.. + /usr/bin/update-desktop-database /usr/share/applications +fi +} -- cgit v1.2.3-54-g00ecf