[arch-commits] Commit in qtspell/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Feb 3 13:00:24 UTC 2022
Date: Thursday, February 3, 2022 @ 13:00:21
Author: arojas
Revision: 1124870
archrelease: copy trunk to community-staging-x86_64
Added:
qtspell/repos/community-staging-x86_64/
qtspell/repos/community-staging-x86_64/PKGBUILD
(from rev 1124869, qtspell/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: qtspell/repos/community-staging-x86_64/PKGBUILD (from rev 1124869, qtspell/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-02-03 13:00:21 UTC (rev 1124870)
@@ -0,0 +1,27 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=qtspell
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Spell checking for Qt text widgets'
+arch=('x86_64')
+url='https://github.com/manisandro/qtspell'
+license=('GPL3')
+depends=('enchant' 'iso-codes' 'qt6-base')
+makedepends=('cmake' 'ninja' 'qt6-tools')
+source=("https://github.com/manisandro/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('03bb9ef504dff352e162b91e9da89fb34d236e01da54799db69388dc9ceea4c2')
+
+prepare() {
+ # Fix location of translations
+ sed -i 's|share/${QT_VER}/translations)|share/qt/translations)|' $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+ cmake -S $pkgname-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr' -DQT_VER=6
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list