summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhriedplanck2020-06-19 12:25:00 +0800
committerwhriedplanck2020-06-19 12:25:00 +0800
commitcc055e1426f3982d19270c65e80fb8fbb1765c68 (patch)
tree96d4f3c47b820028815f9114a840ad5468d8dc83
downloadaur-cc055e1426f3982d19270c65e80fb8fbb1765c68.tar.gz
first commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b7edb814f35
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = fcitx5-skin-material
+ pkgdesc = A Material Design-like skin for Fcitx5, from fcitx-skin-material.
+ pkgver = 0.5
+ pkgrel = 1
+ url = https://github.com/hrko99/fcitx-skin-material
+ arch = any
+ license = Apache
+ depends = fcitx5
+ optdepends = fcitx5-git
+ source = https://github.com/hrko99/fcitx-skin-material/archive/be0d0de4fc744fec83276cd67268aef3d81a6fc0/v0.5.tar.gz
+ md5sums = b04ba017ebe5ded7d3644c33b31a504b
+
+pkgname = fcitx5-skin-material
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8452e7721a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: whriedplanck
+# Author: HRKo <hrko[at]r-c.dev>
+
+pkgname=fcitx5-skin-material
+pkgver=0.5
+_commit=be0d0de4fc744fec83276cd67268aef3d81a6fc0
+pkgrel=1
+pkgdesc="A Material Design-like skin for Fcitx5, from fcitx-skin-material."
+arch=('any')
+url="https://github.com/hrko99/fcitx-skin-material"
+license=('Apache')
+depends=('fcitx5')
+optdepends=('fcitx5-git')
+source=("$url/archive/$_commit/v${pkgver}.tar.gz")
+md5sums=('b04ba017ebe5ded7d3644c33b31a504b')
+
+package() {
+ _variant_name=fcitx-skin-material
+ cd ${srcdir}
+ cd $_variant_name-$_commit
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ install -dm755 "${pkgdir}"/usr/share/fcitx5/themes/$pkgname
+ install -m644 material/* "$pkgdir"/usr/share/fcitx5/themes/$pkgname
+}