summaryrefslogtreecommitdiff
path: root/app-arch/7-zip
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/7-zip')
-rw-r--r--app-arch/7-zip/7-zip-21.03_beta-r1.ebuild8
-rw-r--r--app-arch/7-zip/metadata.xml8
2 files changed, 12 insertions, 4 deletions
diff --git a/app-arch/7-zip/7-zip-21.03_beta-r1.ebuild b/app-arch/7-zip/7-zip-21.03_beta-r1.ebuild
index 0d94eca..e5a64ec 100644
--- a/app-arch/7-zip/7-zip-21.03_beta-r1.ebuild
+++ b/app-arch/7-zip/7-zip-21.03_beta-r1.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="File archiver with a high compression ratio"
HOMEPAGE="https://7-zip.org/"
SRC_URI="https://7-zip.org/a/7z${MY_PV}-src.7z"
-LICENSE=""
+LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -26,12 +26,12 @@ PATCHES=( ${FILESDIR}/7-zip-flags.patch )
src_unpack() {
if command -v 7z >/dev/null 2>&1; then
- 7z x ${DISTDIR}/7z${MY_PV}-src.7z -o$S || die
+ 7z x "${DISTDIR}/7z${MY_PV}-src.7z" -o"$S" || die
elif command -v bsdtar >/dev/null 2>&1; then
mkdir $S || die
- bsdtar -C $S -xf ${DISTDIR}/7z${MY_PV}-src.7z || die
+ bsdtar -C "$S" -xf "${DISTDIR}/7z${MY_PV}-src.7z" || die
elif command -v unar >/dev/null 2>&1; then
- unar -d $S ${DISTDIR}/7z${MY_PV}-src.7z || die
+ unar -d "$S" "${DISTDIR}/7z${MY_PV}-src.7z" || die
else
die "no 7z unpacker found"
fi
diff --git a/app-arch/7-zip/metadata.xml b/app-arch/7-zip/metadata.xml
new file mode 100644
index 0000000..004555a
--- /dev/null
+++ b/app-arch/7-zip/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu (Hello71)</name>
+ </maintainer>
+</pkgmetadata>