desmume: remove l10n dir

This commit is contained in:
Đoàn Trần Công Danh 2021-01-01 19:45:00 +07:00
parent 3aef03d6e4
commit e5600c6526

View file

@ -1,15 +1,16 @@
# Template file for 'desmume'
pkgname=desmume
version=0.9.11
revision=3
revision=4
build_style=gnu-configure
configure_args="--enable-wifi --enable-hud --disable-openal --enable-glx"
hostmakedepends="pkg-config intltool dos2unix"
makedepends="SDL-devel libpcap-devel soundtouch-devel alsa-lib-devel gtk+-devel agg-devel zziplib-devel glu-devel"
makedepends="SDL-devel libpcap-devel soundtouch-devel alsa-lib-devel
gtk+-devel agg-devel zziplib-devel glu-devel"
depends="desktop-file-utils"
short_desc="Nintendo DS emulator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://www.desmume.org"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=3ab34ba6cc009566245025c1dd94bf449b6a1b416d24387cb42e183c78e38896
@ -19,3 +20,13 @@ post_extract() {
# convert the target file to LF-only.
dos2unix $wrksrc/src/MMU_timing.h
}
post_install() {
# locales is only used for glade, but it's never built
# The configure script set GETTEXT_PACKAGE to empty string
# this it's never usable.
# /usr/lib/locale/nb/LC_MESSAGES/.mo
# /usr/share/locale/nb/LC_MESSAGES/.mo
rm -rf $DESTDIR/usr/lib/locale
rm -rf $DESTDIR/usr/share/locale
}