From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/gerbv/ChangeLog | 31 +++++++++++++++++++++++++++++++ community/gerbv/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community/gerbv/gerbv.install | 21 +++++++++++++++++++++ 3 files changed, 84 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..3653de9c5 --- /dev/null +++ b/community/gerbv/ChangeLog @@ -0,0 +1,31 @@ +2011-12-31 Kyle Keen + * 2.6.0-1 + - Version bump + +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..f18a19b5a --- /dev/null +++ b/community/gerbv/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 61469 2012-01-01 00:58:06Z kkeen $ +# Maintainer: Kyle Keen +# Contributor: Jared Casper +# Contributor: Stefan Husmann + +pkgname=gerbv +pkgver=2.6.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=('44a37dd202bc60fab54cbc298a477572') + +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