[arch-commits] Commit in fcitx5-material-color/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 29 23:11:58 UTC 2021
Date: Saturday, May 29, 2021 @ 23:11:58
Author: felixonmars
Revision: 950287
upgpkg: fcitx5-material-color 0.2.1-1
Modified:
fcitx5-material-color/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-29 22:53:29 UTC (rev 950286)
+++ PKGBUILD 2021-05-29 23:11:58 UTC (rev 950287)
@@ -1,22 +1,21 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=fcitx5-material-color
-pkgver=0.0.0.20201212
-_commit=c5f240591af52a041ff0fcde6fe245761c926f61
-pkgrel=2
+pkgver=0.2.1
+pkgrel=1
pkgdesc="Material color theme for fcitx5"
arch=('any')
url="https://github.com/hosxy/Fcitx5-Material-Color"
license=('Apache')
-source=("https://github.com/hosxy/Fcitx5-Material-Color/archive/$_commit/$pkgname-$_commit.tar.gz")
-sha512sums=('b82bae08030b4953db7bab84fe5b4542d5153e23d3d70c94e97fcc8be43bbaa2acdc5552c95576d9e349f9cea2c9c74d68aaf2081428a5ad8c6e003f9f84bc2f')
+source=("https://github.com/hosxy/Fcitx5-Material-Color/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('563ce6c910c737fa9b5fa6c4ec47d4483659d24bc6d6926bd9fecb9ac2328138eafa798cba6a3396618ebdd094828e6ecb847bba63d6b02b915ef9ae7d8b145c')
package() {
- cd Fcitx5-Material-Color-$_commit
+ cd Fcitx5-Material-Color-$pkgver
install -Dm644 arrow.png radio.png -t "$pkgdir"/usr/share/$pkgname/
for _variant in black blue brown deepPurple indigo orange pink red sakuraPink teal; do
_variant_name=Material-Color-${_variant^}
- install -Dm644 panel-$_variant.png -t "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/
+ install -dm755 "$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-$_variant.conf "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/theme.conf
More information about the arch-commits
mailing list