[arch-commits] Commit in solaar/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:41:01 UTC 2019
Date: Monday, November 4, 2019 @ 09:41:01
Author: felixonmars
Revision: 523937
archrelease: copy trunk to community-staging-any
Added:
solaar/repos/community-staging-any/
solaar/repos/community-staging-any/PKGBUILD
(from rev 523936, solaar/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: solaar/repos/community-staging-any/PKGBUILD (from rev 523936, solaar/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 09:41:01 UTC (rev 523937)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Arnaud Taffanel <dev at taffanel.org>
+# Contributor: Victor Häggqvist <aur a snilius d com>
+
+_name=Solaar
+pkgname=solaar
+pkgver=1.0.1
+pkgrel=3
+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')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pwr/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('e0b2bbfd97d9650d94f1a4b47e4e70f09c75f684e7e1d3e67d2cf6dd197109084e941b98333e173fb205d5c9464dd07e17390d9c2d5b46393fee2efdb20429ac')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}/"
+ # udev
+ install -vDm 644 rules.d/42-logitech-unify-permissions.rules \
+ "${pkgdir}/usr/lib/udev/rules.d/42-logitech-unify-permissions.rules"
+ # docs
+ install -vDm 644 {ChangeLog,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ # install fix
+ mv "${pkgdir}/usr/etc" "${pkgdir}/etc"
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list