[arch-commits] Commit in gmpc/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Tue Jul 30 21:19:04 UTC 2013
Date: Tuesday, July 30, 2013 @ 23:19:04
Author: arodseth
Revision: 94824
Compiling with -lm, ref FS#36232
Modified:
gmpc/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++------------
1 file changed, 22 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-30 21:06:32 UTC (rev 94823)
+++ PKGBUILD 2013-07-30 21:19:04 UTC (rev 94824)
@@ -1,29 +1,39 @@
# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
# 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"
+pkgrel=2
+pkgdesc='MPD client (Gtk2)'
+arch=('x86_64' 'i686')
+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')
+install='gmpc.install'
+source=("http://download.sarine.nl/Programs/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
+sha256sums=('a69414f35396846733632ca9619921d7acda537ffd6d49bd84b444945cb76b2c')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's/GNOME;AudioVideo;/GTK;AudioVideo;Player;/' data/gmpc.desktop.in
+}
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop.in
+ cd "$srcdir/$pkgname-$pkgver"
+
./configure --prefix=/usr
- make
+ make CFLAGS+='-lm'
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list