summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2016-02-05 21:55:42 +0100
committerStefan Husmann2016-02-05 21:55:42 +0100
commit3313e8f9221cd6b6293d6b5df4c6c406e38947c9 (patch)
tree479b29bca90318b9c72ea527c0c6659a715d9e00
parent00bf6a8324592669182f55c13e28c7ee18a192de (diff)
downloadaur-3313e8f9221cd6b6293d6b5df4c6c406e38947c9.tar.gz
Update
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 16 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b3fb428f51..e6b9ae710bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Feb 3 21:49:12 UTC 2016
+# Fri Feb 5 20:55:42 UTC 2016
pkgbase = qtikz-git
pkgdesc = Small application helping you to create TikZ diagrams
pkgver = r196.ab7bd73
@@ -18,5 +18,9 @@ pkgbase = qtikz-git
provides = qtikz
conflicts = qtikz
source = qtikz::git+https://github.com/fhackenberger/ktikz
+ source = config.diff
+ source = makefile.diff
md5sums = SKIP
+ md5sums = ff93a529fe32d095a6390a629c51bece
+ md5sums = 4eb8ee23d0762037887d1003daf55c30
diff --git a/PKGBUILD b/PKGBUILD
index 8925faddbbc..7cf5c28246b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,10 @@ makedepends=('git' 'texlive-core' 'qt5-tools')
provides=('qtikz')
conflicts=('qtikz')
install=qtikz.install
-source=("qtikz::git+https://github.com/fhackenberger/ktikz")
-md5sums=('SKIP')
+source=("qtikz::git+https://github.com/fhackenberger/ktikz" config.diff makefile.diff)
+md5sums=('SKIP'
+ 'ff93a529fe32d095a6390a629c51bece'
+ '4eb8ee23d0762037887d1003daf55c30')
_gitname=qtikz
pkgver() {
@@ -21,15 +23,21 @@ pkgver() {
printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}
+prepare() {
+ cd "$_gitname"/qmake
+ patch -p0 < "$srcdir"/config.diff
+}
+
build() {
cd "$_gitname"
qmake qtikz.pro
+ patch -p0 < "$srcdir"/makefile.diff
make
}
package() {
cd "$_gitname"
- make INSTALL_ROOT="$pkgdir/$pkgname" install
+ make INSTALL_ROOT="$pkgdir"/usr install
}