diff options
author | Wouter Haffmans | 2015-07-22 21:26:53 +0200 |
---|---|---|
committer | Wouter Haffmans | 2015-07-22 21:51:55 +0200 |
commit | eab6fb33b8f0b0f9bc216f06f01776b9d2caa7e1 (patch) | |
tree | 8493ae1bacdf208be03f2e4ba3259d64434e5d8b | |
parent | 53b02d15ea4c11ce6daf87927bbbd09e65b07a0f (diff) | |
download | aur-eab6fb33b8f0b0f9bc216f06f01776b9d2caa7e1.tar.gz |
Update to github source, aur4
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -1,16 +1,17 @@ # Maintainer: Wouter Haffmans <wouter@simply-life.net> -pkgname=grantlee-git -pkgver=v0.4.0.0.g358e826 +pkgname=grantlee-qt5-git +pkgver=v5.0.0.13.g8b120f2 pkgrel=1 pkgdesc="Grantlee is a string template engine based on the Django template system." arch=('i686' 'x86_64') url="http://www.grantlee.org" license=('LGPL2.1') -depends=('qt4') +depends=('qt5-base' 'qt5-script') makedepends=('git' 'cmake') -conflicts=('grantlee') -provides=('grantlee') -source=("$pkgname"::'git://gitorious.org/grantlee/grantlee.git') +optdepends=() +conflicts=('grantlee-qt5') +provides=('grantlee-qt5') +source=("$pkgname"::'git+https://github.com/steveire/grantlee.git') md5sums=('SKIP') pkgver() { @@ -21,13 +22,13 @@ pkgver() { } build() { - mkdir "$pkgname/build" - cd "$pkgname/build" - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ".." + mkdir "build" + cd "build" + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "../$pkgname" make } package() { - cd "$pkgname/build" + cd "build" make DESTDIR="$pkgdir/" install } |