summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 207debd4595f20cb5dfe85e025d4efa90a475293 (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
# Maintainer: Lightwing <teddyzct[at]outlook[dot]com>
pkgname=fcitx-shuoxie-git
pkgver=current
pkgrel=2
pkgdesc="Input with speaking or handwriting (Simplified Chinese Only)"
url="https://gitee.com/hebinq/shuoxie"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('fcitx' 'gtk3')
optdepends=()
makedepends=('cmake' 'git')
conflicts=()
replaces=()
backup=()
install=()
source=()
md5sums=()
prepare() {
  cd "${srcdir}/"
  git clone https://gitee.com/hebinq/shuoxie.git
}
build() {
  cd "${srcdir}/shuoxie"
  cmake ./
  make
}

package() {
  cd "${srcdir}/shuoxie"
  make DESTDIR="${pkgdir}" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: