summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e4312df42c43a3b172a1005102d2ab8ce69f687 (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=2
pkgdesc="A live preview for TikZ drawings"
arch=('x86_64' 'i686')
url="https://github.com/misc0110/LiveTikZ"
license=('GPL')
depends=('poppler' 'poppler-qt5' 'kcoreaddons5' 'kxmlgui5' 'ki18n5' 'ktexteditor5'
'kparts5')
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
}