[arch-commits] Commit in lxappearance/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:27:52 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:27:52
  Author: felixonmars
Revision: 658472

archrelease: copy trunk to community-staging-x86_64

Added:
  lxappearance/repos/community-staging-x86_64/
  lxappearance/repos/community-staging-x86_64/PKGBUILD
    (from rev 658471, lxappearance/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: lxappearance/repos/community-staging-x86_64/PKGBUILD (from rev 658471, lxappearance/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:27:52 UTC (rev 658472)
@@ -0,0 +1,50 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+
+pkgbase=lxappearance
+pkgname=(lxappearance lxappearance-gtk3)
+pkgver=0.6.3
+pkgrel=3
+pkgdesc='Feature-rich GTK+ theme switcher of the LXDE Desktop'
+arch=('x86_64')
+license=('GPL2')
+url='https://lxde.org/'
+depends=('gtk2' 'gtk3')
+makedepends=('intltool' 'dbus-glib')
+source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz)
+sha256sums=('7222d858b8fef4b7967c42142d61e82ded6dd42dc5ef1d59caad775795928b38')
+
+build() {
+  # GTK+ 2 version
+  [ -d gtk2 ] || cp -r $pkgbase-$pkgver gtk2
+  cd gtk2
+  ./configure --sysconfdir=/etc --prefix=/usr --enable-dbus
+  make
+
+  cd "$srcdir"
+  # GTK+ 3 version
+  [ -d gtk3 ] || cp -r $pkgbase-$pkgver gtk3
+  cd gtk3
+  ./configure --sysconfdir=/etc --prefix=/usr --enable-dbus --enable-gtk3
+  make
+}
+
+package_lxappearance() {
+  groups=('lxde')
+  depends=('gtk2')
+
+  cd gtk2
+  make DESTDIR="$pkgdir" install
+}
+
+package_lxappearance-gtk3() {
+  groups=('lxde-gtk3')
+  pkgdesc+=' (GTK+ 3 version)'
+  depends=('gtk3')
+  conflicts=('lxappearance')
+
+  cd gtk3
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list