void-packages/srcpkgs/wine-mono/template

27 lines
859 B
Plaintext
Raw Normal View History

2012-09-20 13:32:29 +02:00
# Template file for 'wine-mono'
pkgname=wine-mono
2013-10-28 16:32:20 +01:00
version="4.5.0"
revision=3
2012-09-20 13:32:29 +02:00
homepage="http://wiki.winehq.org/Mono"
license="MIT,GPL-3,LGPL-2"
short_desc="Mono built for running .NET applications with WINE."
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/wine/Wine%20Mono/${version}/${pkgname}-${version}.msi"
2013-10-28 16:32:20 +01:00
checksum=389a2b60563a82e7bf93883dbf4eed933ae846dbad43e853c820878e3d1bedc9
2012-09-20 13:32:29 +02:00
noarch=yes
create_wrksrc=yes
depends="wine"
2012-09-20 13:32:29 +02:00
do_extract() {
# This is to avoid re-downloading it everytime this template is
# edited with a revbump... without an actual version bump.
2014-06-09 10:05:08 +02:00
cp -v "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.msi" ${wrksrc}
2012-09-20 13:32:29 +02:00
}
do_install() {
# The actual installation within WINE occurs at runtime in whatever
# WINEPREFIX is being used.
2014-02-16 10:46:09 +01:00
vinstall ${pkgname}-${version}.msi 755 usr/share/wine/mono
2012-09-20 13:32:29 +02:00
}