updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / gnome-mplayer-gtk2 / PKGBUILD
blob40501e3705583e448c7d6c3ff46a93e39bf68ead
1 # Maintainer: OK100 <ok100.ok100.ok100@gmail.com>
3 pkgname=gnome-mplayer-gtk2
4 pkgver=1.0.5
5 pkgrel=1
6 pkgdesc='A simple MPlayer GUI. Gtk2 version.'
7 arch=('i686' 'x86_64')
8 url='http://gnome-mplayer.googlecode.com/'
9 license=('GPL')
10 depends=('mplayer' 'dbus-glib' 'libnotify' 'hicolor-icon-theme' 'dconf' 'gmtk-gtk2')
11 makedepends=('gnome-power-manager')
12 provides=(gnome-mplayer=${pkgver})
13 conflicts=('gnome-mplayer')
14 install="${pkgname}.install"
15 source=("http://gnome-mplayer.googlecode.com/files/gnome-mplayer-${pkgver}.tar.gz")
17 build() {
18   cd "${srcdir}/gnome-mplayer-${pkgver}"
20   ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install --disable-nautilus --disable-gtk3
21   make
24 package() {
25   cd "${srcdir}/gnome-mplayer-${pkgver}"
27   make DESTDIR="${pkgdir}" install
29   sed -i 's@Exec=gnome-mplayer %U@Exec=gnome-mplayer %F@' \
30     "${pkgdir}/usr/share/applications/gnome-mplayer.desktop"
33 md5sums=('1d3ab24c5501b5528e357931ca4dc6da')