summaryrefslogtreecommitdiff
path: root/community/geda-gaf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/geda-gaf/PKGBUILD')
-rw-r--r--community/geda-gaf/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/community/geda-gaf/PKGBUILD b/community/geda-gaf/PKGBUILD
index 95408aeea..b3e6278b9 100644
--- a/community/geda-gaf/PKGBUILD
+++ b/community/geda-gaf/PKGBUILD
@@ -1,9 +1,10 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=geda-gaf
pkgver=1.6.2
-pkgrel=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"
@@ -19,18 +20,19 @@ md5sums=('35ae86aebc174ec1fc03863fde4c843c')
build ()
{
- cd $srcdir/$pkgname-$pkgver/
+ cd "$srcdir/$pkgname-$pkgver/"
./configure --prefix=/usr --disable-update-xdg-database
make
}
+
package() {
- cd $srcdir/$pkgname-$pkgver/
- make DESTDIR=$pkgdir/ install
+ cd "$srcdir/$pkgname-$pkgver/"
+ make DESTDIR="$pkgdir/" install
sed -i 's+/usr/bin/env python+/usr/bin/env python2+' \
- $pkgdir/usr/bin/garchive
+ "$pkgdir/usr/bin/garchive"
sed -i 's+/usr/bin/python+/usr/bin/python2+' \
- $pkgdir/usr/bin/tragesym
+ "$pkgdir/usr/bin/tragesym"
sed -i 's+/usr/bin/python+/usr/bin/python2+' \
- $pkgdir/usr/share/doc/$pkgname/examples/lightning_detector/bom
+ "$pkgdir/usr/share/doc/$pkgname/examples/lightning_detector/bom"
}