blob: 4073cf9498fdabe3ff26878b27ac388b36b250ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 86671 2013-03-21 01:29:43Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: poplarch <poplarch@gmail.com>
pkgname=fcitx-libpinyin
pkgver=0.2.90
pkgrel=1
pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin"
arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/fcitx/fcitx-libpinyin"
license=('GPL')
depends=('fcitx' 'libpinyin')
makedepends=('cmake' 'intltool' 'wget')
source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz")
install=$pkgname.install
build() {
cd "$srcdir/${pkgname}-${pkgver}"
rm -rf build
mkdir build
cd build
msg "Starting make..."
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
md5sums=('b19526c18102d8c240f2933d21bbbc81')
|