Public feed
#603238
# Contributor: Alex Merry <huntedhacker@tiscali.co.uk>
# TODO: surely we can build our own version and use
# the system xulrunner? Maybe that'll have to
# wait until 1.0. Keep an eye on gentoo...
pkgname=songbird
pkgver=0.2.5
pkgrel=2
pkgdesc="A media player based on Mozilla"
url="http://www.songbirdnest.com/"
license="GPL"
arch=(i686 x86_64)
# Much is included internally, so we can ignore most
# namcap errors about dependencies
depends=('libxrender' 'libxext' 'libx11' 'libxmu' \
'gstreamer0.10-base' 'gtk2')
# Why do they have to use underscores instead of dots?
_ver=$(echo $pkgver | tr . _)
source=(http://download.songbirdnest.com/installer/linux/$CARCH/Songbird_${_ver}_linux-${CARCH}.tar.gz Songbird.desktop)
if [ "$CARCH" == "x86_64" ]; then
md5sums=('f968e5b804edce2f209bd769b0a75d21')
else
md5sums=('e74e69db900827baad61105c87c49bcb')
build() {
cd $startdir/src/Songbird
install -d $startdir/pkg/opt/songbird
cp -a * $startdir/pkg/opt/songbird
chmod 755 $startdir/pkg/opt/songbird/Songbird
chmod 755 $startdir/pkg/opt/songbird/xulrunner/xulrunner
chmod 755 $startdir/pkg/opt/songbird/xulrunner/xulrunner-bin
install -D chrome/icons/default/default.xpm $startdir/pkg/usr/share/pixmaps/Songbird.xpm
install -D -m644 ../Songbird.desktop $startdir/pkg/usr/share/applications/Songbird.desktop
}