gtk/ibus-libzhuyin/PKGBUILD
2018-10-30 04:11:59 +01:00

26 lines
714 B
Bash

pkgname=ibus-libzhuyin
pkgver=1.8.3
pkgrel=1
pkgdesc="New Zhuyin engine based on libzhuyin for IBus."
arch=('x86_64')
license=('GPL')
url="https://github.com/libzhuyin/ibus-libzhuyin"
depends=('ibus' 'gettext' 'intltool' 'sqlite3' 'opencc' 'libpinyin' 'python3')
source=("http://downloads.sourceforge.net/libzhuyin/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('9f4dca957739b29e37b51822a34a6131240174a6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--libexecdir=/usr/lib/ibus \
--disable-static \
--disable-boost \
--with-python=python3
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}