blob: 8c1f0b81cf8efea20315efd088e34f4ad84b563e (
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
|
# Maintainer: Moeta Yuko <loli at yuko dot moe>
_pkgname=fcitx5-hallelujah
pkgname=$_pkgname-git
pkgver=r6.9eca643ea97c
pkgrel=1
pkgdesc='Fcitx5 port of HallelujahIM'
arch=('x86_64' 'aarch64')
url='https://github.com/fcitx-contrib/fcitx5-hallelujah'
license=('LGPL-2.1-or-later')
depends=('fcitx5' 'marisa' 'fmt' 'json-c')
makedepends=('git' 'extra-cmake-modules')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
make
}
package() {
cd $_pkgname
make DESTDIR="$pkgdir" install
}
|