cinnamon-translations: drop noarch + cleanup.

- drop noarch.
- remove the incorrect changelog.
- fix homepage url.
- use vmkdir and vcopy instead of mkdir and cp.

Close: #25452
This commit is contained in:
fosslinux 2020-10-09 20:13:32 +11:00 committed by Đoàn Trần Công Danh
parent e7ab17d759
commit b49ebd931c

View file

@ -1,19 +1,17 @@
# Template file for 'cinnamon-translations'
pkgname=cinnamon-translations
version=4.6.2
revision=1
archs=noarch
revision=2
build_style=gnu-makefile
hostmakedepends="gettext"
short_desc="Translations for Cinnamon and Nemo"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/"
changelog="https://raw.githubusercontent.com/linuxmint/cinnamon-translations/${version}/debian/changelog"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
homepage="https://translations.launchpad.net/linuxmint/latest/"
distfiles="https://github.com/linuxmint/cinnamon-translations/archive/${version}.tar.gz"
checksum=f79b818c3339dec395a8739ebfdb9079e236eeb9608768d76fecfe77dc231cb4
do_install() {
vmkdir /usr/share/locale
cp -a usr/share/locale/* ${DESTDIR}/usr/share/locale
vmkdir usr
vcopy usr/share usr
}