diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/xcircuit/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/xcircuit/PKGBUILD')
-rw-r--r-- | community/xcircuit/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/xcircuit/PKGBUILD b/community/xcircuit/PKGBUILD new file mode 100644 index 000000000..8296b7daa --- /dev/null +++ b/community/xcircuit/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 94361 2013-07-22 11:21:13Z 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.51 +pkgrel=1 +pkgdesc="A program for drawing publishable-quality electrical circuit schematic diagrams" +arch=('i686' 'x86_64') +url="http://opencircuitdesign.com/xcircuit" +license=('GPL2') +depends=('tk' 'libxpm' 'zlib') +makedepends=('chrpath') +source=(http://opencircuitdesign.com/xcircuit/archive/$pkgname-$pkgver.tgz) +md5sums=('a3f5d10f6f96a6298505801f4d0f6190') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --with-tcl=/usr/lib --with-tk=/usr/lib --mandir=/usr/share/man + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + 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 +} |