summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStefan Husmann2016-02-05 21:55:42 +0100
committerStefan Husmann2016-02-05 21:55:42 +0100
commit3313e8f9221cd6b6293d6b5df4c6c406e38947c9 (patch)
tree479b29bca90318b9c72ea527c0c6659a715d9e00 /PKGBUILD
parent00bf6a8324592669182f55c13e28c7ee18a192de (diff)
downloadaur-3313e8f9221cd6b6293d6b5df4c6c406e38947c9.tar.gz
Update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 11 insertions, 3 deletions
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
}