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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:51:00 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:50:59
  Author: felixonmars
Revision: 659015

archrelease: copy trunk to community-staging-x86_64

Added:
  lxinput/repos/community-staging-x86_64/
  lxinput/repos/community-staging-x86_64/PKGBUILD
    (from rev 659014, lxinput/trunk/PKGBUILD)

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

Copied: lxinput/repos/community-staging-x86_64/PKGBUILD (from rev 659014, lxinput/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:50:59 UTC (rev 659015)
@@ -0,0 +1,50 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Filipp "Scorp" Andjelo <scorp at mailueberfall.de>
+
+pkgbase=lxinput
+pkgname=(lxinput lxinput-gtk3)
+pkgver=0.3.5
+pkgrel=3
+pkgdesc="Small program to configure keyboard and mouse for LXDE"
+arch=('x86_64')
+url="https://lxde.org/"
+license=('GPL')
+groups=('lxde')
+depends=('gtk2' 'gtk3')
+makedepends=('intltool')
+source=(https://downloads.sourceforge.net/lxde/$pkgbase-$pkgver.tar.xz)
+sha256sums=('4e8f778a65a4afe2365b47e7899358aa4fab535343aa62c72a3cdc4cac1f6e88')
+
+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_lxinput() {
+  groups=('lxde')
+  depends=('gtk2')
+
+  cd gtk2
+  make DESTDIR="$pkgdir" install
+}
+
+package_lxinput-gtk3() {
+  groups=('lxde-gtk3')
+  pkgdesc+=' (GTK+ 3 version)'
+  depends=('gtk3')
+  conflicts=('lxinput')
+
+  cd gtk3
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list