You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
916 B
54 lines
916 B
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
4 years ago
|
inherit qmake-utils xdg-utils
|
||
10 years ago
|
|
||
|
DESCRIPTION="A word unscrambling game"
|
||
7 years ago
|
HOMEPAGE="https://gottcode.org/connectagram/"
|
||
|
SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
|
||
10 years ago
|
|
||
|
LICENSE="GPL-3+"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
10 years ago
|
IUSE=""
|
||
|
|
||
4 years ago
|
BDEPEND="
|
||
|
dev-qt/linguist-tools:5
|
||
|
"
|
||
6 years ago
|
RDEPEND="
|
||
6 years ago
|
dev-qt/qtcore:5
|
||
|
dev-qt/qtgui:5
|
||
10 years ago
|
dev-qt/qtnetwork:5
|
||
|
dev-qt/qtwidgets:5
|
||
6 years ago
|
"
|
||
4 years ago
|
DEPEND="${RDEPEND}"
|
||
6 years ago
|
|
||
4 years ago
|
PATCHES=( "${FILESDIR}"/${PN}-1.2.8-gentoo.patch )
|
||
10 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
10 years ago
|
sed -i \
|
||
6 years ago
|
-e "s#@GAMES_BINDIR@#/usr/bin#" \
|
||
|
-e "s#@GAMES_DATADIR@#/usr/share#" \
|
||
10 years ago
|
${PN}.pro src/{locale_dialog,new_game_dialog,wordlist}.cpp || die
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
eqmake5 connectagram.pro
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake INSTALL_ROOT="${D}" install
|
||
6 years ago
|
einstalldocs
|
||
10 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
4 years ago
|
xdg_icon_cache_update
|
||
10 years ago
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
4 years ago
|
xdg_icon_cache_update
|
||
10 years ago
|
}
|