[arch-commits] Commit in fcitx5-material-color/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 29 14:59:17 UTC 2020
Date: Wednesday, July 29, 2020 @ 14:59:17
Author: felixonmars
Revision: 665782
archrelease: copy trunk to community-any
Added:
fcitx5-material-color/repos/community-any/PKGBUILD
(from rev 665781, fcitx5-material-color/trunk/PKGBUILD)
Deleted:
fcitx5-material-color/repos/community-any/PKGBUILD
----------+
PKGBUILD | 51 +++++++++++++++++++++++++--------------------------
1 file changed, 25 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-29 14:59:01 UTC (rev 665781)
+++ PKGBUILD 2020-07-29 14:59:17 UTC (rev 665782)
@@ -1,26 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=fcitx5-material-color
-pkgver=0.0.0.20200410
-_commit=0fb2ef1f7a8a7d7591e2d83222d9d8ab3ed4f774
-pkgrel=1
-pkgdesc="Material color theme for fcitx5"
-arch=('any')
-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')
-
-package() {
- cd Fcitx5-Material-Color-$_commit
- 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
- 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/
- 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 665781, fcitx5-material-color/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-29 14:59:17 UTC (rev 665782)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=fcitx5-material-color
+pkgver=0.0.0.20200729
+_commit=321f214bcb6efa61cd45d8c3e07a1d0c50f13c8e
+pkgrel=1
+pkgdesc="Material color theme for fcitx5"
+arch=('any')
+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=('a155b147f2cdd5e33800d1b443443f8c6a0e776710444c0fde1e4b3c62ff2284f253f2a84622d56bf2cd86ee8d772bcee6525d2b8b6cab5c87c9468db817208a')
+
+package() {
+ cd Fcitx5-Material-Color-$_commit
+ 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 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
+}
More information about the arch-commits
mailing list