[arch-commits] Commit in fcitx5/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 3 07:41:23 UTC 2020
Date: Tuesday, November 3, 2020 @ 07:41:22
Author: felixonmars
Revision: 740379
upgpkg: fcitx5 5.0.0-1
Modified:
fcitx5/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-03 07:40:41 UTC (rev 740378)
+++ PKGBUILD 2020-11-03 07:41:22 UTC (rev 740379)
@@ -2,9 +2,7 @@
# Contributor: csslayer <wengxt AT gmail com>
pkgname=fcitx5
-pkgver=0.0.0.20201102
-_commit=325e11f027ab762b5616f83af41d4863e35efd02
-_endictver=20121020
+pkgver=5.0.0
pkgrel=1
pkgdesc="Next generation of fcitx"
arch=('x86_64')
@@ -16,18 +14,13 @@
'wayland-protocols' 'xcb-imdkit' 'xcb-util-wm' 'libxkbfile' 'fmt' 'gdk-pixbuf2'
'cldr-emoji-annotation')
makedepends=('extra-cmake-modules')
-source=("https://github.com/fcitx/fcitx5/archive/$_commit/fcitx5-$_commit.tar.gz"
- https://download.fcitx-im.org/data/en_dict-$_endictver.tar.gz)
-sha512sums=('57fdc1a37c8e809526c41cdfd2d19a05d22446a3aa4724c292fb3ced767e4259c9a486f110dc0bc5dbb2b3d1d2b4611a20791817d3e8d597ceb8f65a0629d969'
- '8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2')
+source=("https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-${pkgver}_dict.tar.xz"{,.sig})
+sha512sums=('ce261c1b00c3a32c914fcd51bd5fc0dac8e532c0b2c8e9b05dc2ef764ce41be1e23b94f2fbe62276d2fa6bd50e6164d56e8bb31a4b17b378f90e2a705d938f62'
+ 'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt at gmail.com>
-prepare() {
- cd $pkgname-$_commit/src/modules/spell/dict
- ln -s "$srcdir"/en_dict-$_endictver.tar.gz ./
-}
-
build() {
- cd $pkgname-$_commit
+ cd $pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_SYSCONFDIR=/etc .
make
@@ -34,11 +27,11 @@
}
check() {
- cd $pkgname-$_commit
+ cd $pkgname-$pkgver
make test
}
package() {
- cd $pkgname-$_commit
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list