[arch-commits] Commit in lxmusic/trunk (PKGBUILD)

Balló György bgyorgy at nymeria.archlinux.org
Wed Dec 4 20:11:57 UTC 2013


    Date: Wednesday, December 4, 2013 @ 21:11:57
  Author: bgyorgy
Revision: 102076

upgpkg: lxmusic 0.4.5-2

Add myself as maintanier, enable notifications support

Modified:
  lxmusic/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-04 19:52:19 UTC (rev 102075)
+++ PKGBUILD	2013-12-04 20:11:57 UTC (rev 102076)
@@ -1,30 +1,36 @@
 # $Id$
-# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
 # Contributor: Marcus Schulderinsky <mmaacceess at gmail dot com>
 
 pkgname=lxmusic
 pkgver=0.4.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Lightweight XMMS2 client'
 arch=('i686' 'x86_64')
 url="http://lxde.org/"
 license=('GPL')
 groups=('lxde')
-depends=('gtk2' 'xmms2')
-makedepends=('pkgconfig' 'intltool')
+depends=('gtk2' 'libnotify' 'xmms2')
+makedepends=('intltool')
 source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
         libnotify-0.7.patch)
 md5sums=('9c3e5eb636f05e8c190d359cd0c8b679'
          '770c63254a7369613daeb6d1260d123f')
 
+prepare() {
+  cd $pkgname-$pkgver
+  # Port to libnotify-0.7
+  patch -Np1 -i $srcdir/libnotify-0.7.patch
+}
+
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -Np1 -i $srcdir/libnotify-0.7.patch
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list