blob: 667b767061de85994be9b016db0308cc8dc0812a (
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
|
# Maintainer: Javs <admin@fxs.life>
pkgname=fcitx5-pangu-git
_gitname=fcitx5-pangu
pkgver=0.8
pkgrel=1
pkgdesc="pangu module for fcitx5, insert space between CJK and alphabet characters"
arch=('i686' 'x86_64')
url="https://github.com/Fei-xiangShi/fcitx5-pangu.git"
license=('GPL')
depends=('fcitx5')
makedepends=('cmake' 'git' 'extra-cmake-modules')
source=('git+https://github.com/Fei-xiangShi/fcitx5-pangu.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
echo "0.$(git rev-list --count HEAD)"
}
build() {
cd "$srcdir/$_gitname"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="${pkgdir}" install
}
|