updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / geda-gaf-unstable / PKGBUILD
blob959075ed05085af2d5ed493bfa02a1ee583e6a62
1 # Contributor: Jared Casper <jaredcasper@gmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
4 pkgname=geda-gaf-unstable
5 _pkgname=geda-gaf
6 pkgver=1.7.2
7 pkgrel=1
8 pkgdesc="gEDA/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project"
9 arch=('i686' 'x86_64')
10 url="http://www.gpleda.org"
11 license=('GPL')
12 depends=('gtk2' 'guile' 'libstroke' 'hicolor-icon-theme' 'desktop-file-utils' 'gawk' 'python2')
13 conflicts=('geda-gaf')
14 provides=('geda-gaf')
15 install=geda-gaf.install
16 source=(http://geda.seul.org/devel/v1.7/$pkgver/${_pkgname}-$pkgver.tar.gz)
17 md5sums=('ccfe334e333d6ed14ace22a43c2cdc7c')
19 build ()
21   cd $srcdir/${_pkgname}-$pkgver/
22   ./configure --prefix=/usr --disable-update-xdg-database 
23   make 
25 package() {
26   cd $srcdir/${_pkgname}-$pkgver/
27   make DESTDIR=$pkgdir/ install 
28   sed -i 's+/usr/bin/env python+/usr/bin/env python2+' \
29     $pkgdir/usr/bin/garchive
30   sed -i 's+/usr/bin/python+/usr/bin/python2+' \
31     $pkgdir/usr/bin/tragesym
32   sed -i 's+/usr/bin/python+/usr/bin/python2+' \
33     $pkgdir/usr/share/doc/${_pkgname}/examples/lightning_detector/bom