desktop/opencc/PKGBUILD
2016-04-02 03:26:02 +01:00

24 lines
649 B
Bash

pkgname=opencc
pkgver=1.0.4
pkgrel=1
pkgdesc="Library for Open Chinese Convert"
arch=('x86_64')
url="https://github.com/BYVoid/OpenCC/"
license=('Apache')
depends=('gcc-libs' 'doxygen' 'python2')
makedepends=('cmake')
source=("https://github.com/BYVoid/OpenCC/archive/ver.${pkgver}.tar.gz")
sha1sums=('af97a84d8bf1b0f955d146aef55fbbbaf1eaf6b1')
screenshot='http://opencc.googlecode.com/files/screenshot-gui-ubuntu.png'
build() {
cd ${srcdir}/OpenCC-ver.${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION=ON
make
}
package() {
cd ${srcdir}/OpenCC-ver.${pkgver}
make DESTDIR="${pkgdir}" install
}