[arch-commits] Commit in ibus-libpinyin/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Jul 1 15:00:01 UTC 2020
Date: Wednesday, July 1, 2020 @ 15:00:01
Author: felixonmars
Revision: 657309
archrelease: copy trunk to community-staging-x86_64
Added:
ibus-libpinyin/repos/community-staging-x86_64/
ibus-libpinyin/repos/community-staging-x86_64/PKGBUILD
(from rev 657308, ibus-libpinyin/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: ibus-libpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 657308, ibus-libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-01 15:00:01 UTC (rev 657309)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Yangtse Su<yangtsesu at gmail.com>
+# Contributor: Jekyll Wu<adaptee [at] gmail [dot] com>
+# Contributor: riverscn<riverscn at gmail.com>
+# Contributor: rainy<rainylau at gmail.com>
+# Contributor: Lee.MaRS<leemars at gmail.com>
+
+pkgname=ibus-libpinyin
+pkgver=1.11.1
+pkgrel=5
+pkgdesc="Intelligent Pinyin engine based on libpinyin for IBus"
+arch=('x86_64')
+license=('LGPL')
+url="https://github.com/libpinyin/ibus-libpinyin"
+depends=('ibus' 'libpinyin' 'lua53' 'opencc' 'python-xdg')
+makedepends=('boost' 'git' 'gnome-common' 'intltool')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/libpinyin/ibus-libpinyin/archive/$pkgver.tar.gz")
+sha512sums=('48691952a10f4ab545d8e233dc3cd75fc54270c03a687820048152636df26d233ee0fba89e4ec2ccd5a6e410b41e556872e3dd2468d59d44b3440e904b93528b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/lua5.1/lua5.3/' configure.ac
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/$pkgname --enable-boost --enable-opencc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make NO_INDEX=true DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list