Use github.exlib where it makes sense

This commit is contained in:
2016-04-22 17:42:34 +02:00
parent 5132b7fc89
commit 067d52967f
26 changed files with 40 additions and 62 deletions

View File

@@ -6,6 +6,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
require github [ user=ambrop72 ]
require cmake
MY_PNV=${PN}-${PV/_rc/rc}
@@ -21,8 +22,7 @@ DESCRIPTION="
The BadVPN package also includes other network-related software,
like tun2socks and NCD.
"
HOMEPAGE="https://github.com/ambrop72/badvpn https://code.google.com/p/badvpn/"
DOWNLOADS="https://github.com/ambrop72/badvpn/archive/${PV}.tar.gz -> ${PNV}.tar.gz"
HOMEPAGE+=" https://code.google.com/p/badvpn/"
LICENCES="BSD-3"
PLATFORMS="~amd64 ~x86"

View File

@@ -3,10 +3,9 @@
require gtk-icon-cache
require perl-module
require github [ user=trizen ]
SUMMARY="A command line utility for viewing youtube-videos in Mplayer"
HOMEPAGE="https://trizen.googlecode.com"
DOWNLOADS="https://github.com/trizen/youtube-viewer/tarball/${PV} -> ${PNV}.tar.gz"
LICENCES="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
@@ -52,11 +51,6 @@ DEPENDENCIES="
"
src_unpack() {
default
edo mv trizen-${PN}-* "${WORK}"
}
src_configure() {
if option gtk ; then
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk-youtube-viewer )