From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/geda-gaf/ChangeLog | 57 +++++++++++++++++++++++++++++++++++++ community/geda-gaf/PKGBUILD | 38 +++++++++++++++++++++++++ community/geda-gaf/geda-gaf.install | 19 +++++++++++++ 3 files changed, 114 insertions(+) create mode 100644 community/geda-gaf/ChangeLog create mode 100644 community/geda-gaf/PKGBUILD create mode 100644 community/geda-gaf/geda-gaf.install (limited to 'community/geda-gaf') diff --git a/community/geda-gaf/ChangeLog b/community/geda-gaf/ChangeLog new file mode 100644 index 000000000..29717fa61 --- /dev/null +++ b/community/geda-gaf/ChangeLog @@ -0,0 +1,57 @@ +2012-01-19 Kyle Keen + * 1.8.1-1 + - Version bump + +2012-01-19 Kyle Keen + * 1.6.2-2 + - libpng15 rebuild + +2010-12-26 Stefan Husmann + * 1.6.1-2 + - adopted, moved to [community] + - added some optional dependencies + - added some sed-commands for python2 compatibility + +2010-02-14 Jared Casper + * 1.6.1-1 + - Version bump + +2009-10-10 Jared Casper + * 1.6.0-2 + - Fixed a bug causing icon problems + +2009-10-05 Jared Casper + * 1.6.0-1 + - Merged with geda-libs and renamed to geda-gaf to match up with + the release tarball name + +2009-05-03 Jared Casper + * 1.4.3-2 + - Added gettext dep (noted by sergej) + - Added '|| return 1's to configure and make commands + - A bit of other random cleanup of deps + +2009-01-03 Jared Casper + * 1.4.3-1 + - Version bump + - Fix dependencies (s/=>/>=/) + +2008-12-20 Jared Casper + * 1.4.2-1 + - Version bump + - Update from comments + +2008-09-28 Jared Casper + * 1.4.1-1 + - Version bump + - Added icon cache update + - Added icon cache and desktop update to post_update + +2008-05-07 Jared Casper + + * 1.4.0-1 + - adopted by Jared Casper + - Update PKGBUILD to current standards and latest version (1.4.0) + - add configure options and install script to handle desktop issues + - added ChangeLog + diff --git a/community/geda-gaf/PKGBUILD b/community/geda-gaf/PKGBUILD new file mode 100644 index 000000000..e51b3d8d7 --- /dev/null +++ b/community/geda-gaf/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Kyle Keen +# Contributor: Jared Casper +# Contributor: Stefan Husmann + +pkgname=geda-gaf +pkgver=1.8.1 +pkgrel=2 +pkgdesc="gEDA/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project" +arch=('i686' 'x86_64') +url="http://www.gpleda.org" +license=('GPL') +depends=('gtk2' 'guile' 'libstroke' 'shared-mime-info' 'hicolor-icon-theme') +makedepends=('pkgconfig' 'perlxml' 'flex' 'gawk') +optdepends=('python2: for two of the commands (garchive, tragesym)' + 'gawk: for sw2asc') +replaces=('geda-suite' 'geda-libs') +install=geda-gaf.install +source=(http://ftp.geda-project.org/geda-gaf/stable/v1.8/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('3c5ef297e403b493fdf7a5d47bbeeb73') + +build () +{ + cd "$srcdir/$pkgname-$pkgver/" + ./configure --prefix=/usr --disable-update-xdg-database + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/" + make DESTDIR="$pkgdir/" install + sed -i 's+/usr/bin/env python+/usr/bin/env python2+' \ + "$pkgdir/usr/bin/garchive" + sed -i 's+/usr/bin/python+/usr/bin/python2+' \ + "$pkgdir/usr/bin/tragesym" + sed -i 's+/usr/bin/python+/usr/bin/python2+' \ + "$pkgdir/usr/share/doc/$pkgname/examples/lightning_detector/bom" +} + diff --git a/community/geda-gaf/geda-gaf.install b/community/geda-gaf/geda-gaf.install new file mode 100644 index 000000000..ad5e587cc --- /dev/null +++ b/community/geda-gaf/geda-gaf.install @@ -0,0 +1,19 @@ +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 +update-mime-database usr/share/mime +} + +post_upgrade() { +post_install +} + +post_remove() { +post_install +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf