summaryrefslogtreecommitdiff
path: root/community/gerbv
diff options
context:
space:
mode:
Diffstat (limited to 'community/gerbv')
-rw-r--r--community/gerbv/ChangeLog27
-rw-r--r--community/gerbv/PKGBUILD28
-rw-r--r--community/gerbv/gerbv.install21
3 files changed, 76 insertions, 0 deletions
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 <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..30a87c5aa
--- /dev/null
+++ b/community/gerbv/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Jared Casper <jaredcasper@gmail.com>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+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
+}