#!/bin/sh
EBUILD=$1
PLGNAME=`echo $EBUILD | cut -f 1,2 -d "-"`
wget -O "/usr/portage/media-video/$PLGNAME/$1.ebuild" "http://www.gentoo.de/viewcvs/*checkout*/gentoo-x86/media-video/$PLGNAME/$1.ebuild?"
ebuild "/usr/portage/media-video/$PLGNAME/$1.ebuild" digest
emerge "/usr/portage/media-video/$PLGNAME/$1.ebuild"
