commit:     565c9ef0328733f5797bdf39a9161ce8a9ff1935
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 18 07:25:25 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 07:25:25 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=565c9ef0

app-emulation/wineloc: Add metadata.xml; use elog instead of ewarn

Package-Manager: portage-2.2.14

---
 app-emulation/wineloc/ChangeLog           |  8 ++++++++
 app-emulation/wineloc/metadata.xml        |  7 +++++++
 app-emulation/wineloc/wineloc-0.41.ebuild | 34 ++++++++++++++++---------------
 3 files changed, 33 insertions(+), 16 deletions(-)

diff --git a/app-emulation/wineloc/ChangeLog b/app-emulation/wineloc/ChangeLog
new file mode 100644
index 0000000..d625ed0
--- /dev/null
+++ b/app-emulation/wineloc/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/wineloc
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  18 Nov 2014; Justin Lecher <[email protected]> wineloc-0.41.ebuild,
+  +metadata.xml:
+  Add metadata.xml; use elog instead of ewarn
+

diff --git a/app-emulation/wineloc/metadata.xml 
b/app-emulation/wineloc/metadata.xml
new file mode 100644
index 0000000..a759be0
--- /dev/null
+++ b/app-emulation/wineloc/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer>
+    <email>[email protected]</email>
+  </maintainer>
+</pkgmetadata>

diff --git a/app-emulation/wineloc/wineloc-0.41.ebuild 
b/app-emulation/wineloc/wineloc-0.41.ebuild
index 713801a..7652a73 100644
--- a/app-emulation/wineloc/wineloc-0.41.ebuild
+++ b/app-emulation/wineloc/wineloc-0.41.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="5"
+EAPI=5
 
 DESCRIPTION="CJK Launcher for Wine (cli)"
 HOMEPAGE="https://bitbucket.org/dsobodash/winelocale";
@@ -14,29 +14,31 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND=""
-RDEPEND="app-emulation/wine
+RDEPEND="
+       app-emulation/wine
        media-fonts/VeraSansYuanTi"
 
 src_prepare() {
-       sed -i 
's|WLOCSHARE=/usr/local/share/wineloc|WLOCSHARE=/usr/share/wineloc|' \
-                       share/wineloc || die
+       sed \
+               -e 
's|WLOCSHARE=/usr/local/share/wineloc|WLOCSHARE=/usr/share/wineloc|' \
+               -i share/wineloc || die
 }
 
 src_install() {
        insinto /usr/share/${PN}
-       doins -r share/patches || die
+       doins -r share/patches
 
-       dodoc CHANGELOG INSTALL || die
+       dodoc CHANGELOG INSTALL
 
-       dobin share/wineloc || die
+       dobin share/wineloc
 
-       ewarn 'For Chinese, be sure to enable these locales in /etc/locale.gen:'
-       ewarn '  zh_CN.UTF-8 UTF-8'
-       ewarn '  zh_TW.UTF-8 UTF-8'
-       ewarn '  zh_CN GB2312'
-       ewarn '  zh_CN.GBK GBK'
-       ewarn '  zh_CN.GB18030 GB18030'
-       ewarn '  zh_TW BIG5'
-       ewarn ''
-       ewarn 'Do not forget to run "sudo locale-gen" to propagate changes.'
+       elog 'For Chinese, be sure to enable these locales in /etc/locale.gen:'
+       elog '  zh_CN.UTF-8 UTF-8'
+       elog '  zh_TW.UTF-8 UTF-8'
+       elog '  zh_CN GB2312'
+       elog '  zh_CN.GBK GBK'
+       elog '  zh_CN.GB18030 GB18030'
+       elog '  zh_TW BIG5'
+       elog ''
+       elog 'Do not forget to run "locale-gen" to propagate changes.'
 }

Reply via email to