summaryrefslogtreecommitdiff
path: root/community/fcitx-chewing/PKGBUILD
blob: a3be807f7d1ada8e4f99bee57e609c83a7506ad3 (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
# $Id: PKGBUILD 111630 2014-05-21 15:57:44Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=fcitx-chewing
pkgver=0.2.2
pkgrel=1
pkgdesc='Fcitx Wrapper for chewing'
arch=('i686' 'x86_64')
url="https://github.com/fcitx/fcitx-chewing"
license=('GPL')
depends=('libchewing' 'fcitx')
makedepends=('cmake')
source=("http://download.fcitx-im.org/fcitx-chewing/$pkgname-$pkgver.tar.xz")

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

  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
  make
}

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

md5sums=('5f24cffc068043251671f9e385d4a6cd')