Date: Thursday, May 4, 2023 @ 06:19:13
Author: felixonmars
Revision: 1458712
archrelease: copy trunk to community-x86_64
Added:
librime/repos/community-x86_64/PKGBUILD
(from rev 1458711, librime/trunk/PKGBUILD)
Deleted:
librime/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 54 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-04 06:18:50 UTC (rev 1458711)
+++ PKGBUILD 2023-05-04 06:19:13 UTC (rev 1458712)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: GONG Chen <chen dot sst at gmail dot com>
-# Contributor: 網軍總司令
-
-pkgname=librime
-pkgver=1.8.5
-_commit=08dd95f5d9282346f0d4a3e8fc6b20811dc3d063
-_octagramcommit=a6ced5a1d623afed17284fbaa395dd3a8b019a14
-_luacommit=03a2bd9e172549cb16c0718b2c9b68e8c5678085
-_charcodecommit=e8a49f503769427f9c0b14e40b2e1f02417515b2
-pkgrel=1
-epoch=1
-pkgdesc="Rime input method engine"
-arch=('x86_64')
-url="https://github.com/rime/librime"
-license=('GPL3')
-depends=('boost-libs' 'capnproto' 'opencc' 'yaml-cpp' 'leveldb' 'librime-data'
'lua' 'google-glog' 'marisa')
-makedepends=('git' 'cmake' 'boost' 'gtest' 'ninja')
-source=("git+https://github.com/rime/librime.git#commit=$_commit"
-
"git+https://github.com/lotem/librime-octagram.git#commit=$_octagramcommit"
- "git+https://github.com/hchunhui/librime-lua.git#commit=$_luacommit"
-
"git+https://github.com/rime/librime-charcode.git#commit=$_charcodecommit")
-sha512sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-prepare() {
- cd librime/plugins
- ln -sf "$srcdir"/librime-octagram
- ln -sf "$srcdir"/librime-lua
- ln -sf "$srcdir"/librime-charcode
-}
-
-build() {
- cd librime
- export CXXFLAGS="$CXXFLAGS -DNDEBUG"
- cmake . -GNinja -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
-DBUILD_MERGED_PLUGINS=Off -DENABLE_EXTERNAL_PLUGINS=On -Wno-dev
- cmake --build build
-}
-
-check() {
- cd librime/build
- ninja test
-}
-
-package() {
- cd librime/build
- DESTDIR="$pkgdir" ninja install
-}
Copied: librime/repos/community-x86_64/PKGBUILD (from rev 1458711,
librime/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-04 06:19:13 UTC (rev 1458712)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: GONG Chen <chen dot sst at gmail dot com>
+# Contributor: 網軍總司令
+
+pkgname=librime
+pkgver=1.8.5
+_commit=08dd95f5d9282346f0d4a3e8fc6b20811dc3d063
+_octagramcommit=a6ced5a1d623afed17284fbaa395dd3a8b019a14
+_luacommit=03a2bd9e172549cb16c0718b2c9b68e8c5678085
+_charcodecommit=e8a49f503769427f9c0b14e40b2e1f02417515b2
+_protocommit=d92f572379774a202c88e2ea6ad47d9dc040a127
+pkgrel=2
+epoch=1
+pkgdesc="Rime input method engine"
+arch=('x86_64')
+url="https://github.com/rime/librime"
+license=('GPL3')
+depends=('boost-libs' 'capnproto' 'opencc' 'yaml-cpp' 'leveldb' 'librime-data'
'lua' 'google-glog' 'marisa')
+makedepends=('git' 'cmake' 'boost' 'gtest' 'ninja')
+source=("git+https://github.com/rime/librime.git#commit=$_commit"
+
"git+https://github.com/lotem/librime-octagram.git#commit=$_octagramcommit"
+ "git+https://github.com/hchunhui/librime-lua.git#commit=$_luacommit"
+
"git+https://github.com/rime/librime-charcode.git#commit=$_charcodecommit"
+ "git+https://github.com/lotem/librime-proto.git#commit=$_protocommit")
+sha512sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ cd librime/plugins
+ ln -sf "$srcdir"/librime-octagram
+ ln -sf "$srcdir"/librime-lua
+ ln -sf "$srcdir"/librime-charcode
+ ln -sf "$srcdir"/librime-proto
+}
+
+build() {
+ cd librime
+ export CXXFLAGS="$CXXFLAGS -DNDEBUG"
+ cmake . -GNinja -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
-DBUILD_MERGED_PLUGINS=Off -DENABLE_EXTERNAL_PLUGINS=On -Wno-dev
+ cmake --build build
+}
+
+check() {
+ cd librime/build
+ ninja test
+}
+
+package() {
+ cd librime/build
+ DESTDIR="$pkgdir" ninja install
+}