Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
fcitx5-bamboo


Commits:
ccaefa15 by Felix Yan at 2024-04-26T16:34:23+00:00
upgpkg: 1.0.5-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,18 @@
+pkgbase = fcitx5-bamboo
+       pkgdesc = Bamboo (Vietnamese Input Method) engine support for Fcitx
+       pkgver = 1.0.5
+       pkgrel = 1
+       url = https://github.com/fcitx/fcitx5-bamboo
+       arch = x86_64
+       license = GPL
+       makedepends = git
+       makedepends = extra-cmake-modules
+       makedepends = go
+       depends = fcitx5
+       source = git+https://github.com/fcitx/fcitx5-bamboo.git#tag=1.0.5?signed
+       source = git+https://github.com/BambooEngine/bamboo-core.git
+       validpgpkeys = 2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9
+       sha512sums = 
4753547584f0bbfd795e79f94cc2cc0f1f1ef1ce2b5ae124e21cd1045294920a2ca939b7e49ce4ec1c4260ac4b73562e7de7c7d0cba6dfb348afda25e436162d
+       sha512sums = SKIP
+
+pkgname = fcitx5-bamboo


=====================================
PKGBUILD
=====================================
@@ -1,27 +1,34 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=fcitx5-bamboo
-pkgver=1.0.4
+pkgver=1.0.5
 pkgrel=1
 pkgdesc="Bamboo (Vietnamese Input Method) engine support for Fcitx"
 arch=('x86_64')
 url="https://github.com/fcitx/fcitx5-bamboo";
 license=('GPL')
 depends=('fcitx5')
-makedepends=('extra-cmake-modules' 'go')
-source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-sha512sums=('07d742ec96415145dfb6d0086e4a628830e249055e71920208a6b9af918e723c88a4c9c497738017ca1f2ddc0b9fc5f304263c5afd3abfbe84ea750076b5227d'
+makedepends=('git' 'extra-cmake-modules' 'go')
+source=("git+https://github.com/fcitx/fcitx5-bamboo.git#tag=$pkgver?signed";
+        "git+https://github.com/BambooEngine/bamboo-core.git";)
+sha512sums=('4753547584f0bbfd795e79f94cc2cc0f1f1ef1ce2b5ae124e21cd1045294920a2ca939b7e49ce4ec1c4260ac4b73562e7de7c7d0cba6dfb348afda25e436162d'
             'SKIP')
 validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 
<wen...@gmail.com>
 
-build(){
-  cd $pkgname-$pkgver
+prepare() {
+  cd fcitx5-bamboo
+  git submodule init
+  git config submodule.bamboo/bamboo-core.url "$srcdir"/bamboo-core
+  git -c protocol.file.allow=always submodule update
+}
 
+build(){
+  cd $pkgname
   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fcitx5-bamboo/-/commit/ccaefa1544d57261a14c0b9d2c7784b130739351

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fcitx5-bamboo/-/commit/ccaefa1544d57261a14c0b9d2c7784b130739351
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to