Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ onefetch-bin
onlyoffice-desktopeditors-deb
onnxruntime-bin
onnxruntime-gpu-bin
openbangla-keyboard-git
opendoas-git
openrgb-git
opensnitch-deb
Expand Down
61 changes: 61 additions & 0 deletions packages/openbangla-keyboard-git/openbangla-keyboard-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# openbangla-keyboard-git.pacscript
# Build the latest OpenBangla-Keyboard from the master branch

pkgname="openbangla-keyboard-git"
gives="openbangla-keyboard"
pkgdesc="An OpenSource, Unicode compliant Bengali Input Method"
url="https://github.com/OpenBangla/OpenBangla-Keyboard"
maintainer=("Niamot <58494481+niam0t@users.noreply.github.com>")

external_connection="true"

arch=("amd64")
source=("git+https://github.com/OpenBangla/OpenBangla-Keyboard.git")
repology=("project: ${gives}")
pkgver="0.0.0"

replaces=("${gives}")
conflicts=("${gives}")

depends=(
"ibus"
"libzstd1"
"libqt5gui5"
"libqt5widgets5"
"libqt5network5"
)
makedepends=(
"cmake"
"build-essential"
"rustc"
"cargo"
"libibus-1.0-dev"
"qtbase5-dev"
"qtbase5-dev-tools"
"libzstd-dev"
)

prepare() {
cd "${srcdir}/OpenBangla-Keyboard"
git submodule update --init --recursive
sed -i 's/^[[:space:]]*enable_language(Rust)/#enable_language(Rust)/' CMakeLists.txt
pkgver="r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
cd "${srcdir}/OpenBangla-Keyboard"
mkdir -p build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_EXPERIMENTAL_LANGUAGE_BINDINGS=Rust \
-DCMAKE_Rust_COMPILER=/usr/bin/rustc \
-DRUSTC_EXECUTABLE=/usr/bin/rustc \
-DCARGO_EXECUTABLE=/usr/bin/cargo
make -j"${NCPU}"
}

package() {
cd "${srcdir}/OpenBangla-Keyboard/build"
make install DESTDIR="${pkgdir}"
}
27 changes: 27 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -11184,6 +11184,33 @@ pkgbase = onnxruntime-gpu-bin

pkgname = onnxruntime-gpu-bin
---
pkgbase = openbangla-keyboard-git
gives = openbangla-keyboard
pkgver = 0.0.0
pkgdesc = An OpenSource, Unicode compliant Bengali Input Method
url = https://github.com/OpenBangla/OpenBangla-Keyboard
arch = amd64
depends = ibus
depends = libzstd1
depends = libqt5gui5
depends = libqt5widgets5
depends = libqt5network5
makedepends = cmake
makedepends = build-essential
makedepends = rustc
makedepends = cargo
makedepends = libibus-1.0-dev
makedepends = qtbase5-dev
makedepends = qtbase5-dev-tools
makedepends = libzstd-dev
conflicts = openbangla-keyboard
replaces = openbangla-keyboard
maintainer = Niamot <58494481+niam0t@users.noreply.github.com>
repology = project: openbangla-keyboard
source = git+https://github.com/OpenBangla/OpenBangla-Keyboard.git

pkgname = openbangla-keyboard-git
---
pkgbase = opendoas-git
gives = opendoas
pkgver = 6.8.2
Expand Down
Loading