desktop/fcitx-libpinyin/PKGBUILD
2016-09-18 17:53:56 +02:00

28 lines
671 B
Bash

pkgname=fcitx-libpinyin
pkgver=0.3.91
pkgrel=2
pkgdesc="Fcitx Wrapper for libpinyin."
arch=('x86_64')
url="https://fcitx-im.org/wiki/Fcitx"
license=('GPL')
depends=('fcitx>=4.2.8' 'libpinyin>=1.5.91' 'qt' 'qtwebkit')
makedepends=('cmake')
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('b61fc7b5db73ae12af8738ef4de59ce25fdcce73296cd3cf2682cf8574b800a6')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
rm -rf build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package ()
{
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}