void-packages/srcpkgs/wine-mono/template
2013-10-28 09:32:20 -06:00

37 lines
1.1 KiB
Text

# Template file for 'wine-mono'
pkgname=wine-mono
version="4.5.0"
revision=1
homepage="http://wiki.winehq.org/Mono"
license="MIT,GPL-3,LGPL-2"
short_desc="Mono built for running .NET applications with WINE."
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="${SOURCEFORGE_SITE}/wine/Wine%20Mono/${version}/${pkgname}-${version}.msi"
checksum=389a2b60563a82e7bf93883dbf4eed933ae846dbad43e853c820878e3d1bedc9
long_desc="
Mono is an open-source and cross-platform implementation of the .NET Framework.
WINE can use a Windows build of Mono to run .NET applications."
noarch=yes
create_wrksrc=yes
do_extract() {
# This is to avoid re-downloading it everytime this template is
# edited with a revbump... without an actual version bump.
cp -v "${XBPS_SRCDISTDIR}/${pkgname}-${version}.msi" ${wrksrc}
}
do_install() {
# The actual installation within WINE occurs at runtime in whatever
# WINEPREFIX is being used.
mkdir -pv "${DESTDIR}/usr/share/wine/mono"
mv -v "${pkgname}-${version}.msi" "${DESTDIR}/usr/share/wine/mono"
}
wine-mono_package() {
noarch="yes"
depends="wine"
pkg_install() {
vmove usr
}
}