summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c4ef2f20f44
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Spike29 <leguen.yannick@gmail.com>
+
+pkgname='qdjango'
+pkgver='0.5.0'
+pkgrel='1'
+pkgdesc='A Qt-based C++ web framework'
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+url='https://github.com/jlaine/qdjango/'
+depends=('qt5-script')
+conflicts=('qdjango-git')
+source=("https://github.com/jlaine/$pkgname/archive/v$pkgver.tar.gz")
+md5sums=('268f2feb32c8b999dd4fdaab911add76')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/"
+ [ -d build ] || mkdir build && cd build/
+ qmake-qt5 PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/build/"
+ make INSTALL_ROOT="$pkgdir/" install
+ rm -r $pkgdir/usr/tests/
+}