2011-08-23 21:31:53 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2011-10-31 03:00:13 +08:00
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
2011-08-23 21:31:53 +08:00
|
|
|
|
|
|
|
pkgname=cirkuit
|
2012-01-06 02:34:09 +08:00
|
|
|
pkgver=0.4.3
|
2014-04-07 02:25:16 +08:00
|
|
|
pkgrel=3
|
2011-08-23 21:31:53 +08:00
|
|
|
pkgdesc='An application for drawing high-quality line diagrams to include in TeX, LaTeX, or similar documents.'
|
|
|
|
url="http://wwwu.uni-klu.ac.at/magostin/cirkuit.html"
|
|
|
|
license=('GPL3')
|
2014-04-07 02:25:16 +08:00
|
|
|
arch=('x86_64')
|
2012-04-09 22:27:06 +08:00
|
|
|
depends=('dpic' 'ghostscript' 'm4' 'netpbm' 'pdf2svg' 'poppler-qt' 'qt' 'texlive-bin' 'texlive-core' 'texlive-pstricks')
|
2011-08-23 21:31:53 +08:00
|
|
|
makedepends=('automoc4' 'cmake' 'kdelibs')
|
|
|
|
optdepends=('dpic: improved circuit macros support.'
|
2012-03-16 22:51:37 +08:00
|
|
|
'gnuplot-luaterm: Gnuplot backend.')
|
|
|
|
categories=('office')
|
2012-01-06 02:34:09 +08:00
|
|
|
source=(http://wwwu.uni-klu.ac.at/magostin/src/$pkgname-$pkgver.tar.bz2)
|
|
|
|
md5sums=('dccdb6bdb6f1afb99cbebe4780f96b49')
|
2011-08-23 21:31:53 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
[[ -d build ]] && rm -r build
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
2012-01-06 02:34:09 +08:00
|
|
|
}
|