summaryrefslogtreecommitdiff
path: root/community/fcitx-rime/PKGBUILD
blob: 5a76e66ec7fe602244608915c3b27eada7657824 (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 92965 2013-06-21 05:40:07Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: lh <jason52lh@gmail.com>

pkgname=fcitx-rime
pkgver=0.2.1
pkgrel=1
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=('81fd0c0b7bf55881b5cb1fc87dde19a4')