blob: 265d06d2d4ae92c1933d60baeeec7efefb0e43ac (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Sammay Sarkar <(my-name-without-vowels)@gmail.com>
# Co-Maintainer: Ahmad Hasan Mubashshir <ahmubashshir@gmail.com>
# from: github
# what: OpenBangla/OpenBangla-keyboard
pkgname="openbangla-keyboard"
pkgver="2.0.0"
pkgrel=8
pkgdesc="An OpenSource, Unicode compliant Bengali Input Method"
arch=('x86_64')
url="http://openbangla.github.io"
license=('GPL3')
depends=('ibus' 'qt5-base')
makedepends=('cmake' 'rust' 'git')
optdepends=('ttf-indic-otf: fonts for Bangla and other Indic scripts'
'ttf-freebanglafont: miscellaneous fonts for Bangla script')
install="$pkgname.install"
source=(
"$pkgname::git+https://github.com/OpenBangla/OpenBangla-keyboard.git#tag=$pkgver"
"riti::git+https://github.com/OpenBangla/riti.git"
)
sha256sums=('7d590d3336cdfe40ea72772ceb2f51feb69ca6d97762e065e9c16070a26067a0'
'SKIP')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd "$pkgname"
git submodule init
git config submodule."src/engine/riti".url "$srcdir/riti"
git -c protocol.file.allow=always submodule update
}
build() {
if [[ -d build ]]; then rm -rf build; fi
cmake -B build -S "$pkgname" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_SKIP_INSTALL_RPATH=YES \
-DCMAKE_SKIP_RPATH=YES \
-DCMAKE_INSTALL_PREFIX=/usr
# -DBIN_DIR:PATH=/usr/bin \
# -DLIBEXECDIR:PATH="/usr/lib/$pkgname"
make -C build
}
package() {
make -C build DESTDIR="$pkgdir" install
}
|