[arch-commits] Commit in solaar/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Fri May 22 01:07:37 UTC 2020


    Date: Friday, May 22, 2020 @ 01:07:36
  Author: ffy00
Revision: 631515

upgpkg: solaar 1.0.2-1

Modified:
  solaar/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-21 21:45:14 UTC (rev 631514)
+++ PKGBUILD	2020-05-22 01:07:36 UTC (rev 631515)
@@ -4,34 +4,35 @@
 
 _name=Solaar
 pkgname=solaar
-pkgver=1.0.1
-pkgrel=3
+pkgver=1.0.2
+pkgrel=1
 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')
+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}-${pkgver}"
+  cd "${_name}"
   python setup.py build
 }
 
 package() {
-  cd "${_name}-${pkgver}"
+  cd "${_name}"
   python setup.py install --skip-build \
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}/"
   # udev
+  rm -rf "${pkgdir}/etc"
   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