PKGBUILDs/community/gnome-mplayer/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
845 B
Bash

# $Id: PKGBUILD 3440 2009-10-03 12:50:08Z ibiru $
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
pkgname=gnome-mplayer
pkgver=0.9.8
pkgrel=2
pkgdesc="A simple MPlayer GUI"
arch=('i686' 'x86_64')
url="http://gnome-mplayer.googlecode.com/"
license=('GPL')
depends=('mplayer' 'dbus-glib' 'libnotify' 'libgpod')
install=${pkgname}.install
source=(http://gnome-mplayer.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('540630654db044198c435f32c04b1b53')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--disable-schemas-install --without-gconf || return 1
make || return 1
make DESTDIR=${pkgdir} install
sed -i 's@Exec=gnome-mplayer@Exec=gnome-mplayer %F@' ${pkgdir}/usr/share/applications/${pkgname}.desktop
}