blob: aff9df6f1e9a04af8a58226de6a373a9951866a5 (
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
35
36
|
# Maintainer: Jiachen YANG <farseerfc@archlinux.org>
# Contributor: csslayer <wengxt AT gmail com>
_pkgname=fcitx5-lua
pkgname="$_pkgname-git"
pkgver=5.0.0.r0.gff218dd
pkgrel=2
pkgdesc="Lua support for fcitx5, with an imeapi addon implementing googlepinyin api"
arch=('i686' 'x86_64')
url="https://github.com/fcitx/$_pkgname"
license=('LGPL')
depends=('boost-libs' 'curl' 'fcitx5-git' 'gettext' 'lua')
makedepends=('boost' 'extra-cmake-modules' 'git')
conflicts=("$_pkgname")
provides=("$_pkgname")
source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build(){
cd $_pkgname
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
make
}
package() {
cd $_pkgname
cd build
make DESTDIR="$pkgdir" install
}
|