--- classified-ads-0.07.ebuild 2015-07-29 22:09:26.131230082 +0300 +++ classified-ads-0.07_p20150728.ebuild 2015-07-29 22:32:54.845272830 +0300 @@ -1,18 +1,19 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07.ebuild,v 1.2 2015/07/13 06:56:29 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07.ebuild,v 1.1 2015/06/29 05:39:09 idella4 Exp $ EAPI=5 PLOCALES="en fi sv" PLOCALE_BACKUP="en" -inherit qt4-r2 +inherit qt4-r2 vcs-snapshot DESCRIPTION="Program for displaying classified advertisement items" HOMEPAGE="http://katiska.org/classified-ads/" -SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz \ - -> classified-ads-${PV}.tar.gz \ - https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \ - -> classified-ads-graphics-${PV}.tar.gz" +COMMIT_ID="dd2017f3be9d5d68d5fb85af2d626424b3e712e0" +SRC_URI="https://github.com/operatornormal/classified-ads/archive/${COMMIT_ID}.tar.gz\ + -> ${P}.tar.gz \ +https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true\ + -> classified-ads-graphics-${PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" @@ -42,7 +43,7 @@ src_prepare() { # preprocessed graphics are unpacked into wrong directory # so lets move them into correct location: - mv ../ui/* ui/ || die + mv ../classified-ads-graphics-${PV}/* ui/ || die # then just run qmake qt4-r2_src_prepare } @@ -58,7 +59,7 @@ src_test() { cd test || die "test suite missing" qmake || die "test suite configure failed" - make + emake if [ -e $HOME/.classified_ads/sqlite_db ]; then mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \