Date: Sunday, March 15, 2020 @ 11:08:49 Author: felixonmars Revision: 597783
addpkg: fcitx5-chewing 0.0.0.20200213-1 Added: fcitx5-chewing/ fcitx5-chewing/repos/ fcitx5-chewing/trunk/ fcitx5-chewing/trunk/PKGBUILD ----------+ PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) Added: fcitx5-chewing/trunk/PKGBUILD =================================================================== --- fcitx5-chewing/trunk/PKGBUILD (rev 0) +++ fcitx5-chewing/trunk/PKGBUILD 2020-03-15 11:08:49 UTC (rev 597783) @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 226039 2017-04-27 13:52:30Z felixonmars $ +# Maintainer: Felix Yan <[email protected]> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=fcitx5-chewing +pkgver=0.0.0.20200213 +_commit=76498e26001ee2175af32ed43e83e0f1900dd92a +pkgrel=1 +pkgdesc="Chewing Wrapper for Fcitx5" +arch=('x86_64') +url="https://github.com/fcitx/fcitx5-chewing" +license=('GPL') +depends=('fcitx5' 'libchewing') +makedepends=('extra-cmake-modules') +source=("https://github.com/fcitx/fcitx5-chewing/archive/$_commit/fcitx5-chewing-$_commit.tar.gz") +sha512sums=('85c88a9b46a36865a276977c40db75cb8c3df8de6c0effdce7e9f5d231509af3e1799a37d9bfe9d510ff7442bcb2a3dd7b0130d4965e821a23e6184966f81d51') + +build(){ + cd $pkgname-$_commit + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib . + make +} + +package() { + cd $pkgname-$_commit + make DESTDIR="$pkgdir" install +}
