diff --git a/common/shlibs b/common/shlibs index 5d71f9cf28..338b1cefa0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2979,6 +2979,7 @@ libgpod.so.4 libgpod-0.8.3_1 libi2c.so.0 i2c-tools-4.0_1 libmarisa.so.0 marisa-0.2.5_1 libopencc.so.2 opencc-1.0.5_1 +librime.so.1 librime-1.2.9_1 libairspy.so.0 libairspy-1.0.9_1 libKF5KDcraw.so.5 libkdcraw5-17.04.3_1 libKF5Kipi.so.32.0.0 libkipi5-17.04.3_1 diff --git a/srcpkgs/librime-devel b/srcpkgs/librime-devel new file mode 120000 index 0000000000..d021077cba --- /dev/null +++ b/srcpkgs/librime-devel @@ -0,0 +1 @@ +librime \ No newline at end of file diff --git a/srcpkgs/librime/template b/srcpkgs/librime/template new file mode 100644 index 0000000000..9cc39ebda8 --- /dev/null +++ b/srcpkgs/librime/template @@ -0,0 +1,29 @@ +# Template file for 'rime' +pkgname=librime +version=1.2.9 +revision=1 +build_style=cmake +configure_args="-DENABLE_LOGGING=Off" +wrksrc="librime-rime-${version}" +makedepends="marisa-devel boost-devel yaml-cpp-devel leveldb-devel opencc-devel" +short_desc="Rime Input Method Engine" +maintainer="Yuxuan Shui " +license="3-clause-BSD" +homepage="https://github.com/rime/librime" +distfiles="https://github.com/rime/librime/archive/rime-${version}.tar.gz" +checksum=d9f0e732b5bf0ee9d8872d00c79322eec7682139a898a65555f794795ac5f410 + +post_install() { + vlicense LICENSE +} + +librime-devel_package() { + depends="librime-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove usr/share + } +}