+++ /dev/null
-DIST cs2d.png 479 BLAKE2B 4992cf21a29b4ce95d263eaf4bc057540baaeac86fe9e084064ebb8a77686663f14c415ff38d03114ccb3c5c62f5bed7f36b24f0fb38389aafbef3939e44fabf SHA512 e8894771deedb8e5018d0be986a53920e8f37fe10485df499e4c271d14014701cf345858ba7904ab6db4178f2cb2244684620a6c5ceacba26f62a29c3bd0463b
-DIST cs2d_1002_linux.zip 1035579 BLAKE2B 6e1553922be2d59a9e188cc6c162c18b38e8dbe32dc7bd959c36a818f28335f311c8a8555fb40f9b9b28306e6b07e4bfdd92e3524d6bf8b355930a4358a7fc4c SHA512 f385a6558f40a01324884a8b765f0fcb8dddcfb59bf983be110234a16cf937ba8c0089dce269fd1cec6b51a380810c5e1676e14a95112364b59cbb07e290a8bc
-DIST cs2d_1002_win.zip 11039631 BLAKE2B 102649ab1d30c683cf9bab03b156f786c00d1f46961112bb8eefda43476ed7a1ea7d466458a1780b257bfd2d9bd9425de30fcf36ce3da69d4f802c267d8a1ffb SHA512 b387cd7172fa35c6e66d7457cd4ca457d5bab795944fa9b53a0879301d72d6e5f2c76b760c119df32ae4e69f158e6c593bf921a83e54e25f79cb4e3d2650965c
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop eutils
-
-DESCRIPTION="A freeware clone of Counter-Strike with some added features in gameplay"
-HOMEPAGE="http://www.cs2d.com/"
-SRC_URI="https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip
- https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip
- https://dev.gentoo.org/~maksbotan/cs2d/cs2d.png"
-LICENSE="freedist"
-
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND="
- x86? (
- media-libs/freetype:2
- media-libs/openal
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/opengl
- )
- amd64? (
- >=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)]
- >=media-libs/openal-1.15.1[abi_x86_32(-)]
- >=virtual/opengl-7.0-r1[abi_x86_32(-)]
- >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
- >=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
- )"
-
-QA_PREBUILT="opt/cs2d/CounterStrike2D"
-
-S=${WORKDIR}
-
-src_prepare() {
- default
-
- # removing windows files
- rm -f *.exe *.bat || die
-
- # OpenAL is default sound driver
- sed -i \
- -e 's:^sounddriver.*$:sounddriver OpenAL Default:' \
- sys/config.cfg || die
-}
-
-src_install() {
- insinto /opt/${PN}
- doins -r .
-
- # avoid file collision with untracked file
- rm -f "${ED%/}/opt/${PN}/sys/core/started.cfg"
-
- make_desktop_entry CounterStrike2D "Counter Strike 2D"
- make_desktop_entry "CounterStrike2D -fullscreen -24bit" "Counter Strike 2D - FULLSCREEN"
- make_wrapper CounterStrike2D ./CounterStrike2D /opt/${PN} /opt/${PN}
- doicon "${DISTDIR}"/${PN}.png
-
- # fixing permissions
- fperms -R g+w /opt/${PN}/maps
- fperms -R g+w /opt/${PN}/screens
- fperms -R g+w /opt/${PN}/sys
- fperms o+x /opt/${PN}/CounterStrike2D
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>maksbotan@gentoo.org</email>
- <name>Maxim Koltsov</name>
- </maintainer>
- <maintainer type="person">
- <email>oleg@kaa.org.ua</email>
- <name>Oleg Kravchenko</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers Project</name>
- </maintainer>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
-</pkgmetadata>