desktop/cirkuit/PKGBUILD
Adrián Chaves Fernández 70146e153a dpic 2016.07.12
2016-08-19 19:39:07 +02:00

37 lines
1.1 KiB
Bash

# Contributions from AUR: https://aur.archlinux.org/packages/cirkuit/
pkgname=cirkuit
pkgver=0.4.3
pkgrel=7
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"
screenshot="http://wwwu.uni-klu.ac.at/magostin/img/cirkuit1.png"
license=('GPL3')
arch=('x86_64')
depends=('dpic' 'ghostscript' 'm4' 'netpbm' 'pdf2svg' 'poppler-qt' 'qt' 'texlive-bin' 'texlive-core' 'texlive-pstricks')
makedepends=('automoc4' 'cmake' 'kdelibs')
optdepends=('dpic: improved circuit macros support.'
'gnuplot-luaterm: Gnuplot backend.')
categories=('office')
source=(http://wwwu.uni-klu.ac.at/magostin/src/$pkgname-$pkgver.tar.bz2)
md5sums=('dccdb6bdb6f1afb99cbebe4780f96b49')
build() {
cd $pkgname-$pkgver
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
rm -rf ${pkgdir}/usr/share/apps/katepart/syntax/gnuplot.xml
}