[arch-commits] Commit in fcitx5-material-color/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 29 23:12:13 UTC 2021
Date: Saturday, May 29, 2021 @ 23:12:12
Author: felixonmars
Revision: 950288
archrelease: copy trunk to community-any
Added:
fcitx5-material-color/repos/community-any/PKGBUILD
(from rev 950287, fcitx5-material-color/trunk/PKGBUILD)
Deleted:
fcitx5-material-color/repos/community-any/PKGBUILD
----------+
PKGBUILD | 49 ++++++++++++++++++++++++-------------------------
1 file changed, 24 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-29 23:11:58 UTC (rev 950287)
+++ PKGBUILD 2021-05-29 23:12:12 UTC (rev 950288)
@@ -1,25 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=fcitx5-material-color
-pkgver=0.0.0.20201212
-_commit=c5f240591af52a041ff0fcde6fe245761c926f61
-pkgrel=2
-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')
-
-package() {
- cd Fcitx5-Material-Color-$_commit
- 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/
- 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
- sed -i "s/^Name=.*/Name=$_variant_name/" "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/theme.conf
- done
-}
Copied: fcitx5-material-color/repos/community-any/PKGBUILD (from rev 950287, fcitx5-material-color/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-29 23:12:12 UTC (rev 950288)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=fcitx5-material-color
+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/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('563ce6c910c737fa9b5fa6c4ec47d4483659d24bc6d6926bd9fecb9ac2328138eafa798cba6a3396618ebdd094828e6ecb847bba63d6b02b915ef9ae7d8b145c')
+
+package() {
+ 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 -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
+ 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