summaryrefslogtreecommitdiff
path: root/community/mate-mplayer
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-25 03:57:09 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-25 03:57:09 +0000
commitbceed102ef20163ec69542342988b89b9ceb1fcf (patch)
treeb8c393a125d71dce300d4988c4d377f9052f47de /community/mate-mplayer
parent58a72e3d6c07ca57231ada1576ba86af346197d4 (diff)
Sat Jan 25 03:51:36 UTC 2014
Diffstat (limited to 'community/mate-mplayer')
-rw-r--r--community/mate-mplayer/PKGBUILD30
-rw-r--r--community/mate-mplayer/mate-mplayer.install13
2 files changed, 43 insertions, 0 deletions
diff --git a/community/mate-mplayer/PKGBUILD b/community/mate-mplayer/PKGBUILD
new file mode 100644
index 000000000..119b0ab70
--- /dev/null
+++ b/community/mate-mplayer/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 104685 2014-01-24 16:26:27Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+pkgname=mate-mplayer
+pkgver=1.0.8
+pkgrel=3
+pkgdesc="Mplayer GUI for MATE"
+url="https://github.com/NiceandGently/mate-mplayer"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('curl' 'dbus-glib' 'gmtk' 'gtk2' 'libgpod' 'libnotify' 'libmusicbrainz3'
+ 'mate-file-manager')
+optdepends=('mplayer: required to actually play any media')
+makedepends=('mate-common' 'perl-xml-parser')
+options=('!emptydirs')
+source=("https://github.com/NiceandGently/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('05a5571f9ffc8493a0814065b78faa11')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/mate-mplayer/mate-mplayer.install b/community/mate-mplayer/mate-mplayer.install
new file mode 100644
index 000000000..bf6781f93
--- /dev/null
+++ b/community/mate-mplayer/mate-mplayer.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}