aboutsummaryrefslogtreecommitdiffstats
path: root/community/cool-retro-term/APKBUILD
blob: 74390b00cf830d8a729ed7cb4ec707544a6a6698 (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
# Contributor: Kay Thomas <kaythomas@pm.me>
# Maintainer: Kay Thomas <kaythomas@pm.me>
pkgname=cool-retro-term
pkgver=1.1.1
pkgrel=1
pkgdesc="Terminal emulator which mimics old cathode displays"
url="https://github.com/Swordfish90/cool-retro-term"
# qt5-qtquickcontrols and qt5-qtgraphicaleffects not packaged for armhf
arch="all !armhf"
license="GPL-3.0-or-later"
depends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols
	qt5-qtgraphicaleffects qmltermwidget"
source="$pkgname-$pkgver.tar.gz::https://github.com/Swordfish90/cool-retro-term/archive/$pkgver.tar.gz"
options="!check" # No testsuite

prepare() {
	default_prepare
	# Taken from Arch Linux
	# Remove qmltermwidget from source so the system one is used instead
	sed -i '/qmltermwidget/d' cool-retro-term.pro
}

build() {
	qmake-qt5
	make
}

package() {
	make INSTALL_ROOT="$pkgdir" install
}

sha512sums="
59da4b5d18ad64b917caebbc63ea9e3d562ed2a2dc9eae00f36cf434df44d17adca084b448f860f24a74ee6b59cd083d6a81e2217df1fb5e9f2731eaf1752148  cool-retro-term-1.1.1.tar.gz
"