diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 16 insertions, 4 deletions
@@ -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 @@ -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 } |