summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannick Le Guen2015-06-12 17:53:46 +0200
committerYannick Le Guen2015-06-12 17:53:46 +0200
commit4569d41248d04fb306092b527a6c13d4dc7ca99a (patch)
tree9cac7e192950f28ce74d72ed871256a74ec463f4
downloadaur-4569d41248d04fb306092b527a6c13d4dc7ca99a.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..31a8d8336a1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = qdjango
+ pkgdesc = A Qt-based C++ web framework
+ pkgver = 0.5.0
+ pkgrel = 1
+ url = https://github.com/jlaine/qdjango/
+ arch = i686
+ arch = x86_64
+ license = LGPL2.1
+ depends = qt5-script
+ conflicts = qdjango-git
+ source = https://github.com/jlaine/qdjango/archive/v0.5.0.tar.gz
+ md5sums = 268f2feb32c8b999dd4fdaab911add76
+
+pkgname = qdjango
+
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/
+}