[arch-commits] Commit in lxmusic/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 18:04:16 UTC 2020
Date: Tuesday, July 7, 2020 @ 18:04:15
Author: felixonmars
Revision: 659967
archrelease: copy trunk to community-staging-x86_64
Added:
lxmusic/repos/community-staging-x86_64/
lxmusic/repos/community-staging-x86_64/PKGBUILD
(from rev 659965, lxmusic/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: lxmusic/repos/community-staging-x86_64/PKGBUILD (from rev 659965, lxmusic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 18:04:15 UTC (rev 659967)
@@ -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=3
+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