summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 862d5e4791df2d45e4958985869ace2e7e34e60b (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: 3ED <krzysztofas at protonmail com>

pkgname=qqsp
_pkgname=Qqsp
_name="QT Quest Soft Player"
_desc="a interactive fiction stories and games player"
pkgver=1.9
pkgrel=1
epoch=
pkgdesc="$_name is $_desc (compatible fork of qsp.su)"
arch=("i686" "x86_64")
url="https://gitlab.com/Sonnix1/Qqsp"
license=('MIT')
depends=("qsp-common" "qt5-webengine" "qt5-multimedia")
makedepends=('git')

source=(
	"${_pkgname}::git+https://gitlab.com/Sonnix1/Qqsp.git#tag=v$pkgver"
	"Qqsp.desktop"
)
sha256sums=('SKIP'
            'f54b0394251667f247bb44a86e7696c60974b872deb15c645c495ffc07e14d1e')

build() {
	cd "${_pkgname}"
	qmake \
		PREFIX=/usr # ???

	make
}

package() {
	install -dm0755 "$pkgdir"/usr/{bin,share/{applications,licenses/qqsp}}/

	install -m0755 "$_pkgname/Qqsp" "$pkgdir/usr/bin/"
	install -m0644 "$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/qqsp/"

	install -m0644 "Qqsp.desktop" "$pkgdir/usr/share/applications/"
}