2012-02-23 12:52:26 +08:00
|
|
|
pkgname=fcitx-libpinyin
|
2015-12-01 07:28:11 +08:00
|
|
|
pkgver=0.3.3
|
|
|
|
pkgrel=1
|
2012-02-23 12:52:26 +08:00
|
|
|
pkgdesc="Fcitx Wrapper for libpinyin."
|
2015-07-15 08:00:02 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://fcitx-im.org/wiki/Fcitx"
|
2012-02-23 12:52:26 +08:00
|
|
|
license=('GPL')
|
2015-12-01 07:28:11 +08:00
|
|
|
depends=('fcitx>=4.2.8' 'libpinyin=1.2.91' 'qt' 'qtwebkit')
|
2013-07-01 08:57:17 +08:00
|
|
|
makedepends=('cmake')
|
2015-07-15 08:00:02 +08:00
|
|
|
source=("http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
2015-12-01 07:28:11 +08:00
|
|
|
sha256sums=('a85b11cc0270b733ef05daf8fd1ff5eae3d43fb65a66f253afb478fe0c9f2823')
|
2012-02-23 12:52:26 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|