# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=cldr-emoji-annotation pkgver=36.12.120200305.0 _pkgver=${pkgver%.*}_${pkgver##*.} 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="e4fc2e4b3b10f77fe2c00c3ba64003502869d9e871fd9d23c2a8945f79438cead6730aee23c07d84b283d7bc56bd547dd816718387fa8952d8757104dfa2e35f cldre-emoji-annotation-36.12.120200305_0.tar.gz"