summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStefan Husmann2016-01-31 23:15:41 +0100
committerStefan Husmann2016-01-31 23:15:41 +0100
commit740ff6342674c69d7e6ae7e1e19a66925b5445d4 (patch)
tree71d9198198a5111feece6f1085c78f96a9effed8 /PKGBUILD
downloadaur-740ff6342674c69d7e6ae7e1e19a66925b5445d4.tar.gz
initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8925faddbbc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgbase=qtikz-git
+pkgver=r196.ab7bd73
+pkgrel=1
+pkgdesc="Small application helping you to create TikZ diagrams"
+arch=('i686' 'x86_64')
+url="https://github.com/fhackenberger/ktikz"
+license=('GPL')
+depends=('poppler-qt5' 'shared-mime-info' 'desktop-file-utils')
+makedepends=('git' 'texlive-core' 'qt5-tools')
+provides=('qtikz')
+conflicts=('qtikz')
+install=qtikz.install
+source=("qtikz::git+https://github.com/fhackenberger/ktikz")
+md5sums=('SKIP')
+_gitname=qtikz
+
+pkgver() {
+ cd "$_gitname"
+ printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$_gitname"
+ qmake qtikz.pro
+ make
+}
+
+package() {
+ cd "$_gitname"
+ make INSTALL_ROOT="$pkgdir/$pkgname" install
+}
+
+