63 lines
2.4 KiB
Bash
63 lines
2.4 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=focuswriter
|
|
pkgver=1.7.6
|
|
pkgrel=06
|
|
# a remake of the old qt5 version on latest qt5-tools just in case an incompatibility crips up
|
|
# although qt5 has been frozen and has ended, kde/plasma development forces frequent qt5- patches
|
|
pkgdesc='Simple, distraction-free word processor qt5 based'
|
|
url='https://gottcode.org/focuswriter/'
|
|
depends=('hicolor-icon-theme' 'hunspell' 'qt5-multimedia')
|
|
makedepends=('qt5-tools')
|
|
source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2"{,.asc})
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
qmake-qt5 PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL3')
|
|
|
|
validpgpkeys=('57E4D43C10CD7EDB8360C84774FFC7F02C4F6B37')
|
|
|
|
sha256sums=(34f576a49c9fe64aedad66e02efafc29c840b6c3ddc98a42d87dfda499710541 # focuswriter-1.7.6-src.tar.bz2
|
|
1b7cfde0e453e410e1123c4c26332a23faeff2dfede22ceb8b49b19bb5e2c2b7) # focuswriter-1.7.6-src.tar.bz2.asc
|
|
|
|
## a16c01990fe5fa4126ec36d772416a1c574d59c84c4126542dc5688e7656d280 focuswriter-1.7.6-06-x86_64.pkg.tar.lz
|
|
|
|
##
|
|
## This is the difference between qt5 and qt6 based focuswriter, for a 6MB simple editor
|
|
## 96MB more in qt6 dependencies - This is your plasma-mania at work
|
|
##
|
|
#Package (8) Old Version New Version Net Change Download Size
|
|
#
|
|
#extra/libb2 0.98.1-2 0.12 MiB
|
|
#extra/qt6-5compat 6.5.0-1 1.65 MiB 0.44 MiB
|
|
#jobextra/qt6-base 6.5.0-03 54.38 MiB
|
|
#extra/qt6-multimedia 6.5.0-1 4.79 MiB 0.90 MiB
|
|
#extra/qt6-multimedia-ffmpeg 6.5.0-1 0.39 MiB 0.13 MiB
|
|
#extra/qt6-translations 6.5.0-1 12.89 MiB 1.69 MiB
|
|
#jobextra/vulkan-headers 1:1.3.240-01 20.34 MiB
|
|
#community/focuswriter 1.7.6-05 1.8.4-1 0.43 MiB 6.09 MiB
|
|
#
|
|
#Total Download Size: 9.24 MiB
|
|
#Total Installed Size: 102.97 MiB
|
|
#Net Upgrade Size: 95.00 MiB
|
|
#
|
|
#:: Proceed with installation? [Y/n] n
|
|
|