diff options
author | Jerry | 2019-11-19 13:57:21 +0800 |
---|---|---|
committer | Jerry | 2019-11-19 13:57:21 +0800 |
commit | dbbc5bcb1cb30824ad86d936ebf0bb8799e15d39 (patch) | |
tree | 86270138995785ef05f3f4cfecd6f839cc7a90f2 | |
download | aur-dbbc5bcb1cb30824ad86d936ebf0bb8799e15d39.tar.gz |
create package fcitx5-icons
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..29421e6c52ad --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = fcitx5-icons + pkgdesc = Icons from fcitx4 for fcitx5 + pkgver = 4.2.9.7 + pkgrel = 1 + url = https://fcitx-im.org + arch = any + license = GPL + license = LGPL + depends = fcitx5 + source = https://download.fcitx-im.org/fcitx/fcitx-4.2.9.7_dict.tar.xz + source = https://download.fcitx-im.org/fcitx/fcitx-4.2.9.7_dict.tar.xz.sig + validpgpkeys = 2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9 + sha512sums = b940478c648e30b2ea55903465ed02c8a0c3ae3539e4bd5b77be46a9e4d0c13ceff074ddd7532f86893111eb96308e1740db621a83fb809e4fd02256d75ebe7b + sha512sums = SKIP + +pkgname = fcitx5-icons + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6f5d70add9e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jerry Xiao <aur at mail.jerryxiao.cc> + +_SRCNAME=fcitx +pkgname=fcitx5-icons +pkgdesc="Icons from fcitx4 for fcitx5" +pkgver=4.2.9.7 +pkgrel=1 +arch=('any') +url="https://fcitx-im.org" +license=('GPL' 'LGPL') +depends=('fcitx5') +source=("https://download.fcitx-im.org/${_SRCNAME}/${_SRCNAME}-${pkgver}_dict.tar.xz"{,.sig}) +sha512sums=('b940478c648e30b2ea55903465ed02c8a0c3ae3539e4bd5b77be46a9e4d0c13ceff074ddd7532f86893111eb96308e1740db621a83fb809e4fd02256d75ebe7b' + 'SKIP') +validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian + +build() { + cd ${_SRCNAME}-${pkgver}/data/icon + + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc + make +} + +package() { + cd ${_SRCNAME}-${pkgver}/data/icon + make DESTDIR="$pkgdir" install +} |