blob: c497bcb1400dcbf390dad0e9b6e756e89d29006b (
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
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: max_meyer
# Contributor: popsch
# Based on original tikzit-aur-package made by pippin
pkgname=tikzit-git
pkgver=2.0.8.g87b50b1
pkgrel=1
pkgdesc="Creation and modification of TeX diagrams written using the pgf/TikZ macro library - rewrite in QT and C++"
arch=('i686' 'x86_64')
url="https://tikzit.github.io/"
license=('GPL')
depends=('qt5-base')
makedepends=('git')
provides=('tikzit')
conflicts=('tikzit')
source=('git+https://github.com/tikzit/tikzit.git')
md5sums=('SKIP')
options=('!makeflags')
pkgver() {
cd ${pkgname%-git}
printf "%s" "$(git describe --tags | cut -c2- |tr - .)"
}
build() {
cd ${pkgname%-git}
qmake PREFIX=/usr \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" tikzit.pro
make -j1
}
package() {
cd ${pkgname%-git}
make -j1 INSTALL_ROOT="$pkgdir" install
}
|