diff options
author | Antonio Rojas | 2016-08-30 22:45:01 +0200 |
---|---|---|
committer | Antonio Rojas | 2016-08-30 22:45:01 +0200 |
commit | 5f18f2169f0000120cae5cfbc2c76c3a5d395673 (patch) | |
tree | cd614a898c3bf1bc26db6790593ad3c9380ddc25 | |
download | aur-5f18f2169f0000120cae5cfbc2c76c3a5d395673.tar.gz |
Moved from extra
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad67adb9b791 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Tue Aug 30 20:44:52 UTC 2016 +pkgbase = grantlee-qt4 + pkgdesc = A string template engine based on the Django template system and written in Qt4 + pkgver = 0.5.1 + pkgrel = 4 + url = https://www.gitorious.org/grantlee/pages/Home + arch = i686 + arch = x86_64 + license = LGPL3 + makedepends = cmake + makedepends = doxygen + depends = qt4 + source = http://downloads.grantlee.org/grantlee-0.5.1.tar.gz + md5sums = 775f22dac0953029b414ed3b7379098c + +pkgname = grantlee-qt4 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad84e445eba6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=grantlee-qt4 +pkgver=0.5.1 +pkgrel=4 +pkgdesc="A string template engine based on the Django template system and written in Qt4" +arch=('i686' 'x86_64') +url="https://www.gitorious.org/grantlee/pages/Home" +license=('LGPL3') +depends=('qt4') +makedepends=('cmake' 'doxygen') +source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz") +md5sums=('775f22dac0953029b414ed3b7379098c') + +prepare() { + mkdir build + + sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i grantlee-$pkgver/CMakeLists.txt +} + +build() { + cd build + cmake ../grantlee-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS=OFF \ + -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |