diff --git a/cldr-emoji-annotation/PKGBUILD b/cldr-emoji-annotation/PKGBUILD index d735c6cc2..02ebe115b 100644 --- a/cldr-emoji-annotation/PKGBUILD +++ b/cldr-emoji-annotation/PKGBUILD @@ -1,22 +1,26 @@ +# Contributions from Arch: +# Maintainer: Felix Yan + pkgname=cldr-emoji-annotation -pkgver=31.0.1.1 -_pkgver=31.0.1_1 +pkgver=33.1.0.0 +_tag=33.1.0_0 pkgrel=1 -pkgdesc="This package provides the emoji annotation file by language in CLDR." +pkgdesc="Emoji annotation files in CLDR" arch=('any') url="https://github.com/fujiwarat/cldr-emoji-annotation" -license=('LGPL') -depends=() -source=("https://github.com/fujiwarat/cldr-emoji-annotation/releases/download/${_pkgver}/${pkgname}-${_pkgver}.tar.gz") -md5sums=('1aac931f38e25518ec2602745037953f') +license=('custom') +source=("$pkgname-$pkgver.tar.gz::https://github.com/fujiwarat/cldr-emoji-annotation/archive/$_tag.tar.gz") +sha512sums=('57dc2b7c8ce4b287eb83113b4d66f5359ce0e03a86477926705864d997bf87a5638dd66414b8ec4549a887cd328c9f996249269be4ca05f0d86d00393e55c513') build() { - cd "$pkgname-$_pkgver" - ./configure --prefix=/usr - make + cd cldr-emoji-annotation-$_tag + ./autogen.sh --prefix=/usr + make } package() { - cd "$pkgname-$_pkgver" - make DESTDIR="$pkgdir/" install + cd cldr-emoji-annotation-$_tag + make DESTDIR="$pkgdir" install + + install -Dm644 unicode-license.txt "$pkgdir"/usr/share/licenses/$pkgname/unicode-license.txt }