blob: 53d91653f1c525c7d22e26cfb47f701d693e9790 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=geda-gaf
pkgver=1.6.2
pkgrel=2
pkgdesc="gEDA/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project"
arch=('i686' 'x86_64' 'mips64el')
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://geda.seul.org/release/v1.6/$pkgver/$pkgname-$pkgver.tar.gz
geda-1.6.2-correct_glib_include.patch)
md5sums=('35ae86aebc174ec1fc03863fde4c843c'
'af28867b393e0351b97d5d23cdefc812')
build ()
{
cd "$srcdir/$pkgname-$pkgver/"
patch -Np1 -i ${srcdir}/geda-1.6.2-correct_glib_include.patch
./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"
}
|