diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-02-12 10:53:31 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-12 10:33:40 -0300 |
commit | a400b47e9032b03d4f698eeb87ad56047360d083 (patch) | |
tree | 81d77483de18dee42da4f6d9a1e993d2f0fb9da0 /community/cldr-emoji-annotation | |
parent | 61bf932374089b0009e9523bb657fb00d3f9b9f1 (diff) | |
download | aports-a400b47e9032b03d4f698eeb87ad56047360d083.tar.bz2 aports-a400b47e9032b03d4f698eeb87ad56047360d083.tar.xz |
community/cldr-emoji-annotation: move from testing and take up maintainership
Diffstat (limited to 'community/cldr-emoji-annotation')
-rw-r--r-- | community/cldr-emoji-annotation/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/cldr-emoji-annotation/APKBUILD b/community/cldr-emoji-annotation/APKBUILD new file mode 100644 index 0000000000..350bc50283 --- /dev/null +++ b/community/cldr-emoji-annotation/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=cldr-emoji-annotation +pkgver=33.1.0_p0 +_tag=${pkgver/_p/_} +pkgrel=2 +pkgdesc="Emoji annotation files in CLDR" +arch="noarch" +url="https://github.com/fujiwarat/cldr-emoji-annotation" +license="Unicode-DFS-2016" +makedepends="automake autoconf" +source="$pkgname-$pkgver.tar.gz::https://github.com/fujiwarat/cldr-emoji-annotation/archive/$_tag.tar.gz" +builddir="$srcdir/$pkgname-$_tag" + +prepare() { + default_prepare + + sed -i 's|@VERSION@|${pkgver%%_*}|g' $pkgname.pc.in +} + +build() { + ./autogen.sh --prefix=/usr + make +} + +package() { + make DESTDIR="$pkgdir" 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="57dc2b7c8ce4b287eb83113b4d66f5359ce0e03a86477926705864d997bf87a5638dd66414b8ec4549a887cd328c9f996249269be4ca05f0d86d00393e55c513 cldr-emoji-annotation-33.1.0_p0.tar.gz" |