Date: Saturday, April 8, 2023 @ 06:04:52
  Author: felixonmars
Revision: 473244

archrelease: copy trunk to staging-any

Added:
  ibus-typing-booster/repos/staging-any/
  ibus-typing-booster/repos/staging-any/PKGBUILD
    (from rev 473243, ibus-typing-booster/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: ibus-typing-booster/repos/staging-any/PKGBUILD (from rev 473243, 
ibus-typing-booster/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2023-04-08 06:04:52 UTC (rev 473244)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+
+pkgname=ibus-typing-booster
+pkgver=2.19.10
+pkgrel=2
+pkgdesc="Predictive input method for the IBus platform"
+url="https://mike-fabian.github.io/ibus-typing-booster/";
+arch=(any)
+license=(GPL3 Apache)
+depends=(ibus python-gobject python-dbus python-pyenchant m17n-lib sqlite)
+makedepends=(git)
+_commit=865c6c40ce4a079807c014680e63fa2e5d602aab  # tags/2.19.10
+source=("git+https://github.com/mike-fabian/ibus-typing-booster#commit=$_commit";)
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  autoreconf -fvi
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/ibus
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  cd "$pkgdir/usr/share/$pkgname/data"
+  gzip -nf --best *.{txt,json} annotations{,Derived}/*.xml
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to