[arch-commits] Commit in focuswriter/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jun 25 13:24:02 UTC 2022
Date: Saturday, June 25, 2022 @ 13:24:01
Author: arojas
Revision: 1239427
Update to 1.8.0
Modified:
focuswriter/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-25 12:13:21 UTC (rev 1239426)
+++ PKGBUILD 2022-06-25 13:24:01 UTC (rev 1239427)
@@ -2,31 +2,25 @@
# Contributor: Graeme Gott <graeme at gottcode.org>
pkgname=focuswriter
-pkgver=1.7.6
-pkgrel=3
+pkgver=1.8.0
+pkgrel=1
pkgdesc='Simple, distraction-free word processor'
arch=('x86_64')
url='https://gottcode.org/focuswriter/'
license=('GPL3')
-depends=('hicolor-icon-theme' 'hunspell' 'qt5-multimedia')
-makedepends=('qt5-tools')
+depends=('hicolor-icon-theme' 'hunspell' 'qt6-multimedia' 'qt6-5compat')
+makedepends=('cmake' 'qt6-tools')
source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2"{,.asc})
-sha256sums=('34f576a49c9fe64aedad66e02efafc29c840b6c3ddc98a42d87dfda499710541'
+sha256sums=('114897e2fa697e32cbf81c3ced8dc6d56ea8584956348ab607f3530c991ce7d8'
'SKIP')
validpgpkeys=('57E4D43C10CD7EDB8360C84774FFC7F02C4F6B37')
-prepare() {
- cd $pkgname-$pkgver
- sed -i '/INSTALLS +=/ s/ pixmap//' focuswriter.pro
-}
-
build() {
- cd $pkgname-$pkgver
- qmake-qt5 PREFIX=/usr
- make
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
- cd $pkgname-$pkgver
- make INSTALL_ROOT="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
More information about the arch-commits
mailing list