summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 39c7d8bee58c337b781dfc5900b8359d42f8a9df (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
pkgname=livetikz
_pkgname=LiveTikZ
pkgver=0.5
pkgrel=1
pkgdesc="A live preview for TikZ drawings"
arch=('x86_64' 'i686')
url="https://github.com/misc0110/LiveTikZ"
license=('GPL')
depends=('poppler' 'poppler-qt5' 'kcoreaddons' 'kxmlgui' 'ki18n' 'ktexteditor'
'kparts')
makedepends=('cmake' 'extra-cmake-modules')
source=("https://github.com/misc0110/LiveTikZ/archive/release-${pkgver}.tar.gz")
md5sums=('45401b590772be51efac8075bfc7373d')

build() {
	mkdir -p "$srcdir/$_pkgname-release-$pkgver/build"
	cd "$srcdir/$_pkgname-release-$pkgver/build"
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
	make
}

package() {
	cd "$srcdir/$_pkgname-release-$pkgver/build"
	make DESTDIR="$pkgdir/" install
}