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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:36:00 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:36:00
  Author: foutrelis
Revision: 753544

archrelease: copy trunk to community-staging-any

Added:
  piper/repos/community-staging-any/
  piper/repos/community-staging-any/PKGBUILD
    (from rev 753543, piper/trunk/PKGBUILD)

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

Copied: piper/repos/community-staging-any/PKGBUILD (from rev 753543, piper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:36:00 UTC (rev 753544)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=piper
+pkgver=0.5.1
+pkgrel=2
+pkgdesc='GTK application to configure gaming mice'
+arch=('any')
+url='https://github.com/libratbag/piper'
+license=('GPL')
+depends=('python' 'python-gobject' 'libratbag' 'python-evdev' 'python-lxml' 'python-cairo')
+makedepends=('git' 'meson')
+validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2'  # Filipe Laíns (FFY00) <lains at archlinux.org>
+              '3C2C43D9447D5938EF4551EBE23B7E70B467F0BF'  # Peter Hutterer (Who-T) <office at who-t.net>
+              '2F2670AC164DB36F'                          # Benjamin Tissoires <benjamin.tissoires at gmail.com>
+              'BB45B0B3FF561BDBD45EE8A9B35B49EA5D563EFE') # stephanlachnit at protonmail.com <stephanlachnit at protonmail.com>
+source=("git+$url#tag=$pkgver?signed")
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+
+  # Remove install script
+  # This is handled by pacman hooks
+  sed -i "/meson.add_install_script('meson_install.sh')/d" meson.build
+}
+
+build() {
+  mkdir $pkgname/build
+  cd $pkgname/build
+
+  arch-meson ..
+
+  ninja
+}
+
+package() {
+  cd $pkgname/build
+
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list