summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4ef2f20f4458f88bb3e34d2d6518e1c9480a9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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/
}