# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libpinyin pkgver=2.8.1 pkgrel=1 pkgdesc="Library to deal with pinyin" url="https://github.com/libpinyin/libpinyin" # armhf blocked by kyotocabinet arch="all !armhf" license="GPL-3.0-or-later" depends_dev="kyotocabinet-dev" makedepends="$depends_dev autoconf automake glib-dev libtool " subpackages="$pkgname-static $pkgname-dev $pkgname-doc" source="https://github.com/libpinyin/libpinyin/releases/download/$pkgver/libpinyin-$pkgver.tar.gz" options="!check" # Flaky tests, succeeding on CI but failing on builders build() { ./configure \ --prefix=/usr \ --enable-libzhuyin \ --with-dbm=KyotoCabinet make } check() { make check } package() { DESTDIR="$pkgdir" make install } sha512sums=" cf344d12ba31b72fd63e39345a294f8507533db7b2cea3df69214fee7f62068823832587907e78df44aeb035990e9dbc5fd4eb5ee95a757158fc165abb986b91 libpinyin-2.8.1.tar.gz "