summaryrefslogtreecommitdiff
path: root/community/gerbv
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gerbv
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gerbv')
-rw-r--r--community/gerbv/ChangeLog31
-rw-r--r--community/gerbv/PKGBUILD32
-rw-r--r--community/gerbv/gerbv.install21
3 files changed, 84 insertions, 0 deletions
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 <keenerd@gmail.com>
+ * 2.6.0-1
+ - Version bump
+
+2010-12-31 Stefan Husmann <stefan-husmann@t-online.de>
+ * 2.4.0-2
+ - Move to [community]
+
+2010-02-26 Jared Casper <jaredcasper@gmail.com>
+ * 2.4.0-1
+ - Version bump
+
+2009-07-11 Jared Casper <jaredcasper@gmail.com>
+ * 2.3.0-1
+ - Version bump
+
+2009-01-23 Jared Casper <jaredcasper@gmail.com>
+ * 2.2.0-1
+ - Version bump
+
+2008-09-28 Jared Casper <jaredcasper@gmail.com>
+ * 2.1.0-1
+ - Version bump
+ - Added icon cache update
+ - Added icon cache and desktop update to post_update
+
+2008-06-13 Jared Casper <jaredcasper@gmail.com>
+
+ * 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 <keenerd@gmail.com>
+# Contributor: Jared Casper <jaredcasper@gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+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
+}