diff options
author | Dan Hasting | 2015-09-26 08:28:44 -0400 |
---|---|---|
committer | Dan Hasting | 2015-09-26 08:28:44 -0400 |
commit | 0f47d130705743a613ea9ff998805a1a05de3fe0 (patch) | |
tree | 409410a22233fa3a743526de60fe2b4f6c4996aa | |
parent | 1e69449a03f2778b0660d393303a52c65bbf5db5 (diff) | |
download | aur-0f47d130705743a613ea9ff998805a1a05de3fe0.tar.gz |
Fix compilation error without quazip-qt4 installed
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 10 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = cen64-qt-git pkgdesc = A basic frontend for CEN64 - pkgver = 20150915 + pkgver = 20150926 pkgrel = 1 url = https://github.com/dh4/cen64-qt install = cen64-qt-git.install @@ -1,5 +1,5 @@ pkgname=cen64-qt-git -pkgver=20150915 +pkgver=20150926 pkgrel=1 pkgdesc="A basic frontend for CEN64" arch=('i686' 'x86_64') @@ -11,11 +11,16 @@ install=cen64-qt-git.install _gitroot='https://github.com/dh4/cen64-qt.git' _gitname='cen64-qt' -build() { +prepare() { cd "$srcdir" git clone "$_gitroot" - cd "$_gitname" - +} + +build() { + cd "$srcdir/$_gitname" + + sed -i 's#include <quazip/#include <quazip5/#g' src/common.h + ./build-scripts/revision.sh qmake-qt5 make |