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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:01:26 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:01:26
  Author: felixonmars
Revision: 752913

archrelease: copy trunk to community-staging-any

Added:
  solaar/repos/community-staging-any/
  solaar/repos/community-staging-any/PKGBUILD
    (from rev 752912, solaar/trunk/PKGBUILD)

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

Copied: solaar/repos/community-staging-any/PKGBUILD (from rev 752912, solaar/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:01:26 UTC (rev 752913)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Arnaud Taffanel <dev at taffanel.org>
+# Contributor: Victor Häggqvist <aur a snilius d com>
+
+_name=Solaar
+pkgname=solaar
+pkgver=1.0.4
+pkgrel=2
+pkgdesc="Linux device manager for a wide range of Logitech devices"
+url="https://pwr-solaar.github.io/Solaar/"
+license=('GPL2')
+arch=('any')
+depends=('gtk3' 'libnotify' 'python-dbus' 'python-gobject' 'python-pyudev')
+makedepends=('git')
+source=("git+https://github.com/pwr/${_name}.git#tag=${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=('2FF2ACA9D97FF7B42CF8494A1E32E75672D6A196') # Peter F. Patel-Schneider (key generated for github) <pfpschneider at gmail.com>
+
+build() {
+  cd "${_name}"
+  python setup.py build
+}
+
+package() {
+  cd "${_name}"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}/"
+  # udev
+  rm -rf "${pkgdir}/etc"
+  install -vDm 644 rules.d/42-logitech-unify-permissions.rules \
+    -t "${pkgdir}/usr/lib/udev/rules.d/"
+  # docs
+  install -vDm 644 {ChangeLog,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list