summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ac4f4e59525f5d1c40edb87b6aefa7e2a1702c12 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Your Name <doganntaylan@gmail.com>
pkgname=karakaplidefter
pkgver=1
pkgrel=1
pkgdesc="IUE CE 350 Class project"
arch=('x86_64')
license=('GPL')
depends=('qt5-base' 'git' 'sqlite')
makedepends=('qt5-base' 'git' 'sqlite')
checkdepends=()
#install=
#changelog=
source=("git://github.com/koguz/karakaplidefter")
#noextract=()
md5sums=('SKIP')
#validpgpkeys=()

prepare() {
	cd "$pkgname"
	qmake -project
	echo "QT += sql widgets printsupport" >> karakaplidefter.pro
}

build() {
	cd "${srcdir}/${pkgname}"
	qmake
	make
}

check() {
	cd "$srcdir/$pkgname"
	make -k check
}

package() {
	cd "${srcdir}/${pkgname}"
	install -D -m755 $pkgname "$pkgdir/usr/bin/$pkgname"
	#make DESTDIR="$pkgdir/" install
}