[arch-commits] Commit in lxmusic/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 23:59:17 UTC 2018
Date: Friday, November 9, 2018 @ 23:59:16
Author: felixonmars
Revision: 405438
archrelease: copy trunk to community-staging-x86_64
Added:
lxmusic/repos/community-staging-x86_64/
lxmusic/repos/community-staging-x86_64/PKGBUILD
(from rev 405437, lxmusic/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: lxmusic/repos/community-staging-x86_64/PKGBUILD (from rev 405437, lxmusic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 23:59:16 UTC (rev 405438)
@@ -0,0 +1,49 @@
+# 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>
+
+pkgbase=lxmusic
+pkgname=(lxmusic lxmusic-gtk3)
+pkgver=0.4.7
+pkgrel=2
+pkgdesc='Lightweight XMMS2 client'
+arch=('x86_64')
+url="https://lxde.org/"
+license=('GPL')
+depends=('gtk2' 'gtk3' 'libnotify' 'xmms2')
+makedepends=('intltool')
+source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz)
+md5sums=('1bbd57f5b34e13ef31152c9ecb31ef68')
+
+build() {
+ # GTK+ 2 version
+ [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
+ cd gtk2
+ ./configure --prefix=/usr
+ make
+
+ cd "$srcdir"
+ # GTK+ 3 version
+ [ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3
+ cd gtk3
+ ./configure --prefix=/usr --enable-gtk3
+ make
+}
+
+package_lxmusic() {
+ groups=('lxde')
+ depends=('gtk2' 'libnotify' 'xmms2')
+
+ cd gtk2
+ make DESTDIR="$pkgdir" install
+}
+
+package_lxmusic-gtk3() {
+ groups=('lxde-gtk3')
+ pkgdesc+=' (GTK+ 3 version)'
+ depends=('gtk3' 'libnotify' 'xmms2')
+ conflicts=('lxmusic')
+
+ cd gtk3
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list