Date: Tuesday, January 28, 2020 @ 04:24:27 Author: felixonmars Revision: 557231
archrelease: copy trunk to community-staging-x86_64 Added: librime/repos/community-staging-x86_64/ librime/repos/community-staging-x86_64/PKGBUILD (from rev 557230, librime/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: librime/repos/community-staging-x86_64/PKGBUILD (from rev 557230, librime/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-28 04:24:27 UTC (rev 557231) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: GONG Chen <chen dot sst at gmail dot com> +# Contributor: 網軍總司令 + +pkgname=librime +pkgver=1.5.3 +pkgrel=5 +epoch=1 +pkgdesc="Rime input method engine" +arch=('x86_64') +url="https://github.com/rime/librime" +license=('GPL3') +depends=('boost-libs' 'opencc' 'yaml-cpp' 'leveldb' 'google-glog' 'marisa') +optdepends=('plum: preset input schemas' + 'plum-extra: extra input schemas') +makedepends=('cmake' 'boost' 'gtest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rime/librime/archive/$pkgver.tar.gz") +sha512sums=('4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3') + +build() { + cd $pkgname-$pkgver + cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr + cmake --build build +} + +package() { + cd $pkgname-$pkgver/build + make DESTDIR="$pkgdir" install +}