summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-08-18 13:41:10 +0200
committerDavid Seifert <soap@gentoo.org>2019-08-18 13:41:10 +0200
commit57ca9bcc3d81d168a377ac8d192874be287288e0 (patch)
treec9a4c511ac64923f3ef83c4d0635742e9427a951 /games-puzzle
parentgames-puzzle/penguzzle: Port to EAPI 7 (diff)
downloadgentoo-57ca9bcc3d81d168a377ac8d192874be287288e0.tar.gz
gentoo-57ca9bcc3d81d168a377ac8d192874be287288e0.tar.bz2
gentoo-57ca9bcc3d81d168a377ac8d192874be287288e0.zip
games-puzzle/triptych: [QA] Version the distfile
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/triptych/Manifest2
-rw-r--r--games-puzzle/triptych/triptych-1.16.ebuild27
2 files changed, 16 insertions, 13 deletions
diff --git a/games-puzzle/triptych/Manifest b/games-puzzle/triptych/Manifest
index afa274c4eced..9101a82f08ef 100644
--- a/games-puzzle/triptych/Manifest
+++ b/games-puzzle/triptych/Manifest
@@ -1 +1 @@
-DIST triptych.tar.gz 1748316 BLAKE2B 0d66265df27f61ddee1e1777a1e749d3a8bbcebf0e2bfe64a054febb48def865b68ab59d9c25804ed725bb11d24af2bbd712cc2de88a7259db26aa6d7c3c8d1f SHA512 614de78c9f90dd2145ff3dfa6f7a799a069c5add80bc8b0494a752346a163ab0eff7b707292b815adbffa34e4fec446035cfb65df4dd6cf284f270bb732b6daa
+DIST triptych-1.16.tar.gz 1748316 BLAKE2B 0d66265df27f61ddee1e1777a1e749d3a8bbcebf0e2bfe64a054febb48def865b68ab59d9c25804ed725bb11d24af2bbd712cc2de88a7259db26aa6d7c3c8d1f SHA512 614de78c9f90dd2145ff3dfa6f7a799a069c5add80bc8b0494a752346a163ab0eff7b707292b815adbffa34e4fec446035cfb65df4dd6cf284f270bb732b6daa
diff --git a/games-puzzle/triptych/triptych-1.16.ebuild b/games-puzzle/triptych/triptych-1.16.ebuild
index 3e69e845e765..c6c262733c4e 100644
--- a/games-puzzle/triptych/triptych-1.16.ebuild
+++ b/games-puzzle/triptych/triptych-1.16.ebuild
@@ -7,26 +7,27 @@ inherit desktop eutils
DESCRIPTION="Fast-paced Tetris-like puzzler"
HOMEPAGE="http://www.chroniclogic.com/triptych.htm"
-SRC_URI="http://www.chroniclogic.com/demos/${PN}.tar.gz"
+SRC_URI="http://www.chroniclogic.com/demos/${PN}.tar.gz -> ${P}.tar.gz"
+
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="bindist mirror strip"
-RDEPEND="acct-group/gamestat
+DEPEND="acct-group/gamestat"
+RDEPEND="
+ ${DEPEND}
>=media-libs/libsdl-1.2[abi_x86_32,opengl,sound,video]
virtual/opengl[abi_x86_32]
x11-libs/libX11[abi_x86_32]
x11-libs/libXext[abi_x86_32]"
-QA_PREBUILT="opt/${PN}/${PN}
+QA_PREBUILT="
+ opt/${PN}/${PN}
opt/${PN}/setup"
S="${WORKDIR}/${PN}"
-DIR="/opt/${PN}"
-WRITABLE=( "${EROOT}${DIR}"/{hwconfig.cfg,${PN}.{clr,cnt,scr}} )
-
src_prepare() {
default
rm -v *.dll || die
@@ -35,20 +36,22 @@ src_prepare() {
src_install() {
local EXES=( ${PN} setup )
- insinto "${DIR}"
+ insinto /opt/${PN}
doins -r .
- exeinto "${DIR}"
+ exeinto /opt/${PN}
doexe "${EXES[@]}"
- fowners root:gamestat "${EXES[@]/#/${DIR}/}" || die
- fperms g+s "${EXES[@]/#/${DIR}/}" || die
+ fowners root:gamestat "${EXES[@]/#//opt/${PN}/}"
+ fperms g+s "${EXES[@]/#//opt/${PN}/}"
- make_wrapper ${PN} ./${PN} "${DIR}"
- make_wrapper ${PN}-setup ./setup "${DIR}"
+ make_wrapper ${PN} ./${PN} /opt/${PN}
+ make_wrapper ${PN}-setup ./setup /opt/${PN}
}
pkg_postinst() {
+ WRITABLE=( "${EROOT}"/opt/${PN}/{hwconfig.cfg,${PN}.{clr,cnt,scr}} )
+
touch "${WRITABLE[@]}" || die
chown root:gamestat "${WRITABLE[@]}" || die
chmod 0664 "${WRITABLE[@]}" || die