summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cad6e924df44b1447599eb9bfc8420e899c789cb (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
# Maintainer: Simone Scalabrino <s dot scalabrino 9 at gmail dot com>

pkgname=qtws-base
_gitname=qtws
_gittag=0.92
pkgver=$_gittag
pkgrel=1
pkgdesc='Standalone web-app container based on qt5-webengine'
arch=('i686' 'x86_64')
url='https://github.com/intersimone999/qtws'
license=('GPL3')
depends=('xdg-utils' 'qt5-webengine')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')

# pkgver() {
#    cd ${srcdir}/${_gitname}
#    
#    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# 
# }
            
build() {
   cd ${srcdir}/${_gitname}
   git checkout $_gittag

   qmake -config release
   make
   
}

package() {
   install -Dm755 ${srcdir}/${_gitname}/qtws ${pkgdir}/usr/bin/qtws
}