summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoelacanthus2020-06-18 22:12:15 +0800
committerCoelacanthus2020-06-18 22:12:15 +0800
commita1991c52ed702146b1946f5b7a56e4bbe0898cc3 (patch)
treec0099d0ab292c9a9576af25af25f61994202ff09
downloadaur-a1991c52ed702146b1946f5b7a56e4bbe0898cc3.tar.gz
init
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD25
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aee91e28ecf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = fcitx5-adwaita-dark
+ pkgdesc = An Fcitx5 dark theme mimics GNOME Adwaita-dark
+ pkgver = 0.0.0.20200618
+ pkgrel = 1
+ url = https://github.com/escape0707/fcitx5-adwaita-dark
+ arch = any
+ license = AGPL3
+ source = https://github.com/escape0707/fcitx5-adwaita-dark/archive/8c1ed01b020672e26891cba4d9e426afef2b7436/fcitx5-adwaita-dark-8c1ed01b020672e26891cba4d9e426afef2b7436.tar.gz
+ sha512sums = 62a2590a631bf8aa4531a59bd887c45e529fa50db5c7a79302b19d782ffe859e3bee26b9390face69d93cb4199e7b8a01fddbb08460fd310c549d3c9045466a9
+
+pkgname = fcitx5-adwaita-dark
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1cf8d280973
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Coelacanthus <liuhongwu2003@outlook.com>
+
+pkgname=fcitx5-adwaita-dark
+pkgver=0.0.0.20200618
+_commit=8c1ed01b020672e26891cba4d9e426afef2b7436
+pkgrel=1
+pkgdesc="An Fcitx5 dark theme mimics GNOME Adwaita-dark"
+arch=('any')
+url="https://github.com/escape0707/fcitx5-adwaita-dark"
+license=('AGPL3')
+source=("https://github.com/escape0707/fcitx5-adwaita-dark/archive/$_commit/$pkgname-$_commit.tar.gz")
+sha512sums=('62a2590a631bf8aa4531a59bd887c45e529fa50db5c7a79302b19d782ffe859e3bee26b9390face69d93cb4199e7b8a01fddbb08460fd310c549d3c9045466a9')
+
+package() {
+ _variant_name=fcitx5-adwaita-dark
+ cd $_variant_name-$_commit
+ install -Dm644 highlight.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/highlight.png
+ install -Dm644 no_highlight.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/no_highlight.png
+ install -Dm644 panel.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/panel.png
+ install -Dm644 arrow.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/arrow.png
+ install -Dm644 radio.png "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/radio.png
+ install -Dm644 theme.conf "$pkgdir"/usr/share/fcitx5/themes/$_variant_name/theme.conf
+
+ #install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}