New package: opencc-1.0.5

This commit is contained in:
Jürgen Buchmüller 2017-12-26 12:10:07 +01:00
parent 073bb3fc8d
commit 4a1984ce0b
3 changed files with 29 additions and 0 deletions

View File

@ -2978,6 +2978,7 @@ libopenglrecorder.so.0 libopenglrecorder-0.1.0_1
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
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

1
srcpkgs/opencc-devel Symbolic link
View File

@ -0,0 +1 @@
opencc

27
srcpkgs/opencc/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'opencc'
pkgname=opencc
version=1.0.5
revision=1
wrksrc=OpenCC-ver.${version}
hostmakedepends="python"
build_style=cmake
short_desc="Library for Open Chinese Convert"
maintainer="Yuxuan Shui <yshuiv7@gmail.com>"
license="Apache-2.0"
distfiles="https://github.com/BYVoid/OpenCC/archive/ver.${version}.tar.gz"
homepage="https://github.com/BYVoid/OpenCC/"
checksum=1ce1649ba280cfc88bb76e740be5f54b29a9c034400c97a3ae211c37d7030705
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" opencc"
fi
opencc-devel_package() {
depends="opencc-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}