diff options
Diffstat (limited to 'community/gnome-mplayer/PKGBUILD')
-rw-r--r-- | community/gnome-mplayer/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/gnome-mplayer/PKGBUILD b/community/gnome-mplayer/PKGBUILD new file mode 100644 index 000000000..6709ef456 --- /dev/null +++ b/community/gnome-mplayer/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 92201 2013-06-02 18:25:47Z bpiotrowski $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Allan McRae <mcrae_allan@hotmail.com> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=gnome-mplayer +pkgver=1.0.8 +pkgrel=1 +pkgdesc='A simple MPlayer GUI.' +arch=('i686' 'x86_64') +url='http://gnome-mplayer.googlecode.com/' +license=('GPL') +depends=('mplayer' 'dbus-glib' 'libnotify' 'gnome-icon-theme' 'hicolor-icon-theme' 'dconf' 'gmtk') +makedepends=('gnome-power-manager' 'nautilus') +install="${pkgname}.install" +source=("http://gnome-mplayer.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") +md5sums=('9225dc0645d050ee31dd877559d7c16b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + sed -i 's@Exec=gnome-mplayer %U@Exec=gnome-mplayer %F@' \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} |