blob: 1cf9b6a4d1c511bff0bb34435674cfd3d88a7e68 (
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
|
# $Id: PKGBUILD 53887 2011-08-09 08:33:11Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Giovanni Scafora <linuxmania@gmail.com>
# Contributor: simo <simo@archlinux.org>
pkgname=xcircuit
pkgver=3.7.26
pkgrel=1
pkgdesc="A program for drawing publishable-quality electrical circuit schematic diagrams"
arch=('i686' 'x86_64' 'mips64el')
url="http://opencircuitdesign.com/xcircuit"
license=('GPL2')
depends=('tk' 'libxpm' 'zlib')
makedepends=('chrpath')
source=(http://opencircuitdesign.com/xcircuit/archive/$pkgname-$pkgver.tgz)
md5sums=('6026f65a4bc327e5769157ffd1387342')
build() {
cd $srcdir/$pkgname-$pkgver
# sed -i 's|am__api_version="1.9"|am__api_version="1.11"|' configure
./configure prefix=/usr --with-tcl=/usr/lib --with-tk=/usr/lib --mandir=/usr/share/man
make
make DESTDIR=$pkgdir install
mkdir -p $pkgdir/usr/share/man/man1
mv $pkgdir/usr/lib/xcircuit-3.7/man/* $pkgdir/usr/share/man/man1/
rm -rf $pkgdir/usr/lib/xcircuit-3.7/man/
chrpath -d $pkgdir/usr/lib/xcircuit-3.7/xcircexec
}
|