# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=cldr-emoji-annotation pkgver=37.0.13.0.0.2 _pkgver=37.0_13.0_0_2 pkgrel=0 pkgdesc="Emoji annotation files in CLDR" arch="noarch" url="https://github.com/fujiwarat/cldr-emoji-annotation" license="Unicode-DFS-2016 AND LGPL-2.0-or-later" makedepends="automake autoconf" source="https://github.com/fujiwarat/cldr-emoji-annotation/archive/$_pkgver/cldre-emoji-annotation-$_pkgver.tar.gz" builddir="$srcdir/$pkgname-$_pkgver" prepare() { default_prepare sed -i 's|@VERSION@|${pkgver%%_*}|g' $pkgname.pc.in } build() { ./autogen.sh --prefix=/usr make } package() { DESTDIR="$pkgdir" make install # TODO(leo): pkgconfig file has weird version so a pc: is not made mkdir -p "$pkgdir"/usr/lib mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib } sha512sums="9c863c6f6494fdedd7b8db20f42dd803388e4f8165d2827ef358330862c52b6c84d98b55e87054fcb01bab906cc3fe0dd351d9d8063f74b988ca686e5c9d2fa1 cldre-emoji-annotation-37.0_13.0_0_2.tar.gz"