mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
25 lines
606 B
Bash
25 lines
606 B
Bash
pkgname=opencc
|
|
pkgver=0.4.3
|
|
pkgrel=1
|
|
pkgdesc="Library for Open Chinese Convert"
|
|
arch=(x86_64)
|
|
url="http://code.google.com/p/opencc/"
|
|
license=('Apache License 2.0')
|
|
depends=('glibc')
|
|
makedepends=('cmake')
|
|
source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
|
|
sha1sums='4677e63fa36fb2b92a52c01df2acc83664aaf882'
|
|
screenshot='http://opencc.googlecode.com/files/screenshot-gui-ubuntu.png'
|
|
|
|
build() {
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|