[arch-commits] Commit in fcitx5-material-color/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 29 14:59:01 UTC 2020
Date: Wednesday, July 29, 2020 @ 14:59:01
Author: felixonmars
Revision: 665781
upgpkg: fcitx5-material-color 0.0.0.20200729-1
Modified:
fcitx5-material-color/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-29 14:33:43 UTC (rev 665780)
+++ PKGBUILD 2020-07-29 14:59:01 UTC (rev 665781)
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=fcitx5-material-color
-pkgver=0.0.0.20200410
-_commit=0fb2ef1f7a8a7d7591e2d83222d9d8ab3ed4f774
+pkgver=0.0.0.20200729
+_commit=321f214bcb6efa61cd45d8c3e07a1d0c50f13c8e
pkgrel=1
pkgdesc="Material color theme for fcitx5"
arch=('any')
@@ -9,7 +9,7 @@
url="https://github.com/hosxy/Fcitx5-Material-Color"
license=('GPL')
source=("https://github.com/hosxy/Fcitx5-Material-Color/archive/$_commit/$pkgname-$_commit.tar.gz")
-sha512sums=('03f3d1ecc22487a6e563b75bf017284e02a911275b8efc3d7d9d994bd1023ea21ce97f6d51de89d7f6e33f745509ee283312462cae431cd5f62992cf91527370')
+sha512sums=('a155b147f2cdd5e33800d1b443443f8c6a0e776710444c0fde1e4b3c62ff2284f253f2a84622d56bf2cd86ee8d772bcee6525d2b8b6cab5c87c9468db817208a')
package() {
cd Fcitx5-Material-Color-$_commit
@@ -16,11 +16,10 @@
install -Dm644 arrow.png radio.png -t "$pkgdir"/usr/share/$pkgname/
for _variant in blue brown deepPurple indigo pink red teal; do
_variant_name=Material-Color-${_variant^}
- install -Dm644 highlight-$_variant.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/highlight.png
- install -Dm644 panel-$_variant.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/panel.png
+ install -Dm644 panel-$_variant.png -t "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/
ln -s ../../../$pkgname/arrow.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/
ln -s ../../../$pkgname/radio.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/
- install -Dm644 theme.conf -t "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/
+ install -Dm644 theme-$_variant.conf "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/theme.conf
sed -i "s/^Name=.*/Name=$_variant_name/" "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/theme.conf
done
}
More information about the arch-commits
mailing list