[arch-commits] Commit in ibus-typing-booster/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 10:28:00 UTC 2020
Date: Saturday, May 16, 2020 @ 10:27:59
Author: foutrelis
Revision: 384128
archrelease: copy trunk to staging-any
Added:
ibus-typing-booster/repos/staging-any/
ibus-typing-booster/repos/staging-any/PKGBUILD
(from rev 384127, ibus-typing-booster/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: ibus-typing-booster/repos/staging-any/PKGBUILD (from rev 384127, ibus-typing-booster/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-05-16 10:27:59 UTC (rev 384128)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=ibus-typing-booster
+pkgver=2.7.3
+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=2442de932b6232d82c19f217f23411face462427 # tags/2.7.3
+source=("git+https://github.com/mike-fabian/ibus-typing-booster#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ autoreconf -fvi
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr --libexec=/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
+}
More information about the arch-commits
mailing list