summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/pasang-emas/Manifest1
-rw-r--r--games-board/pasang-emas/pasang-emas-6.3.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/games-board/pasang-emas/Manifest b/games-board/pasang-emas/Manifest
index aa081952b3a5..06e6d2b171eb 100644
--- a/games-board/pasang-emas/Manifest
+++ b/games-board/pasang-emas/Manifest
@@ -1,4 +1,5 @@
DIST pasang-emas-3.1.0.tar.bz2 3030528 BLAKE2B c61caf905f17fb51fd58609c8f0ec9fc61c0db0fd75eb65d271db39f7c3e670d651d8ed2134aa165cdfd8358d252b78b7716008c1aa96e2f7e9fed1b6123f06e SHA512 c1f7dc259100e2fe643ac0a5d766dad10435145b3fd76e698335817bc30b7a55a5816df920fc3c86fb7b533661b1dd179b20ad01586be914bb3a9cad9be29a65
+DIST pasang-emas-6.3.0.tar.xz 2935180 BLAKE2B 183d8e41ddb1bcf8fca395d300660ab5f369a4a4d9337c987f6db8b2004861f1751a8b52f21634092f4c5f7de1e2d9edd872915fbf0666fbf088058435bd17f7 SHA512 55dce61a0292bc2b410527fbbcad79b1e956912be549b52dafdb0371da12199fadf2822df1b431cf9673c3b52aaa3732e99ddf4866ebd30cb518c4b9ce68e94a
DIST pasang-emas-themes-1.0.tar.bz2 1190560 BLAKE2B a2218920dc601a12c86da15600f8cd09ae434265695d872d706086ab02b9b02e557e8c786789b8089d142b86114adbabfe392f1af290138a95a1d805845582a9 SHA512 8b82ce6ba588b83ed4a0d70d8aab256e2dae16143e64ca8a1fc25ffe61f001cdbc71d62d8eb42d9af4aeb63d6584f47b513b0ce1840d9b9f49d9b1b635eb4043
DIST pet-fragrance.tar.bz2 1019437 BLAKE2B a4408d60c4ea14efab84f10bbce4da0382253f19cd60a82b278ac55c6b9f897a0e2eeef924930b7c8159a02460e3a269dea4254126e2389c84fe0f02cf61c62e SHA512 2af8908848cc20962c70ef573156b208dbc33032529035ae6f0b5760f5eb1b718582dc823340587e29b7e66a2d3c89ba113dedbf299c0bef639f28329ff278f2
DIST pet-marble.tar.bz2 631999 BLAKE2B aee419bfe7355f6c90822deed14d44174d5862f08a6bcb81cabd3c2b05f7ee99ae836574af21e3a2a9c9bf203c1c39d8c4f435466cbbf274cdd162e2c6cc3805 SHA512 3ecaeaddb12e23fbd90e4d158a47dffb73b756bf9f5263d93c5f6aa21d290be3d91885de7200cdd3a45718b49ac19cd7073ed8bf83697af6bff64759f810122e
diff --git a/games-board/pasang-emas/pasang-emas-6.3.0.ebuild b/games-board/pasang-emas/pasang-emas-6.3.0.ebuild
new file mode 100644
index 000000000000..7cfc8c62a614
--- /dev/null
+++ b/games-board/pasang-emas/pasang-emas-6.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit toolchain-funcs
+
+DESCRIPTION="Traditional game of Brunei"
+HOMEPAGE="https://pasang-emas.sourceforge.net/"
+SRC_URI="
+ https://downloads.sourceforge.net/${PN}/${P}.tar.xz
+ extras? (
+ https://downloads.sourceforge.net/${PN}/pasang-emas-themes-1.0.tar.bz2
+ https://downloads.sourceforge.net/${PN}/pet-marble.tar.bz2
+ https://downloads.sourceforge.net/${PN}/pet-fragrance.tar.bz2
+ )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras"
+RESTRICT="test" # only used to validate .xml help files and fetches .dtd for it
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/itstool"
+
+src_compile(){
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ default
+
+ if use extras; then
+ insinto /usr/share/${PN}/themes
+ doins -r "${WORKDIR}"/{fragrance,marble,pasang-emas-themes-1.0/{conteng,kaca}}
+ fi
+}