[arch-commits] Commit in (5 files)
Pierre Schmitz
pierre at nymeria.archlinux.org
Sun Jan 27 16:16:16 UTC 2013
Date: Sunday, January 27, 2013 @ 17:16:16
Author: pierre
Revision: 83147
extra2community: Moving gmpc from extra to community
Added:
gmpc/
gmpc/repos/
gmpc/trunk/
gmpc/trunk/PKGBUILD
gmpc/trunk/gmpc.install
--------------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
gmpc.install | 11 +++++++++++
2 files changed, 40 insertions(+)
Added: gmpc/trunk/PKGBUILD
===================================================================
--- gmpc/trunk/PKGBUILD (rev 0)
+++ gmpc/trunk/PKGBUILD 2013-01-27 16:16:16 UTC (rev 83147)
@@ -0,0 +1,29 @@
+# $Id$
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at archlinux.org>
+
+pkgname=gmpc
+pkgver=11.8.16
+pkgrel=1
+pkgdesc="A GTK2 client for MPD"
+arch=('i686' 'x86_64')
+url="http://gmpclient.org/home"
+license=('GPL')
+depends=('libunique' 'libmpd' 'libsoup' 'sqlite' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('gob2' 'intltool' 'vala')
+options=('!libtool')
+install=gmpc.install
+source=(http://download.sarine.nl/Programs/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('223aeb000e41697d8fdf54ccedee89d5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop.in
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Property changes on: gmpc/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: gmpc/trunk/gmpc.install
===================================================================
--- gmpc/trunk/gmpc.install (rev 0)
+++ gmpc/trunk/gmpc.install 2013-01-27 16:16:16 UTC (rev 83147)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list