summaryrefslogtreecommitdiff
path: root/community/fcitx-rime/PKGBUILD
blob: ae50ee9ed665afd15db6e38f61de92a9fecdc559 (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 90138 2013-05-07 05:26:33Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: lh <jason52lh@gmail.com>

pkgname=fcitx-rime
pkgver=0.2.0
pkgrel=2
pkgdesc='Fcitx Wrapper for librime'
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.7' "librime" "brise")
makedepends=('cmake')
install=fcitx-rime.install
source=(
  "http://fcitx.googlecode.com/files/$pkgname-$pkgver.tar.xz"
)

build() {
  cd "$pkgname-$pkgver"

  mkdir -p build
  cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver/build"
  make DESTDIR="$pkgdir" install
}

md5sums=('34e9bd76f96d93dd99a6af2ed25d8e26')