Date: Saturday, December 12, 2020 @ 14:58:57 Author: foutrelis Revision: 773289
archrelease: copy trunk to community-staging-x86_64 Added: libime/repos/community-staging-x86_64/ libime/repos/community-staging-x86_64/PKGBUILD (from rev 773288, libime/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: libime/repos/community-staging-x86_64/PKGBUILD (from rev 773288, libime/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-12 14:58:57 UTC (rev 773289) @@ -0,0 +1,33 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=libime +pkgver=1.0.2 +pkgrel=3 +pkgdesc="A library to support generic input method implementation" +arch=('x86_64') +url="https://github.com/fcitx/libime" +license=('GPL') +depends=('boost-libs' 'fcitx5') +makedepends=('boost' 'extra-cmake-modules' 'ninja' 'python') +source=("https://download.fcitx-im.org/fcitx5/libime/libime-${pkgver}_dict.tar.xz"{,.sig}) +sha512sums=('ebfa49b31194e25e619072ddcc03363221223bf7872a39501bfb9ddfb9d6078a97c69febc07c24181766775e94c5d70eefe3989008d8235bd24a3c5131c3053e' + 'SKIP') +validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wen...@gmail.com> + +build(){ + cd $pkgname-$pkgver + + cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib . + ninja +} + +check() { + cd $pkgname-$pkgver + ninja test +} + +package() { + cd $pkgname-$pkgver + DESTDIR="$pkgdir" ninja install +}