From d94d1da2045719f97fee9e7244854edf50ed040a Mon Sep 17 00:00:00 2001 From: davehome Date: Thu, 20 Sep 2012 05:32:29 -0600 Subject: [PATCH] New package: wine-mono-0.0.4. --- srcpkgs/wine-mono/template | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/wine-mono/template diff --git a/srcpkgs/wine-mono/template b/srcpkgs/wine-mono/template new file mode 100644 index 0000000000..c46d266d9d --- /dev/null +++ b/srcpkgs/wine-mono/template @@ -0,0 +1,31 @@ +# Template file for 'wine-mono' +pkgname=wine-mono +version="0.0.4" +revision=1 +distfiles="${SOURCEFORGE_SITE}/wine/Wine%20Mono/${version}/${pkgname}-${version}.msi" +checksum=15d8a612cdeca4eff3137353f29fdeb7a99e055cd633844c91cd00e0186b8882 +depends="wine-unstable" +homepage="http://wiki.winehq.org/Mono" +license="MIT,GPL-3,LGPL-2" +short_desc="Mono built for running .NET applications with WINE." +maintainer="davehome " +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 +noextract=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" +}