[arch-commits] Commit in libratbag/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun May 17 20:34:46 UTC 2020


    Date: Sunday, May 17, 2020 @ 20:34:45
  Author: ffy00
Revision: 628983

archrelease: copy trunk to community-x86_64

Added:
  libratbag/repos/community-x86_64/PKGBUILD
    (from rev 628982, libratbag/trunk/PKGBUILD)
Deleted:
  libratbag/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 51 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-17 20:34:41 UTC (rev 628982)
+++ PKGBUILD	2020-05-17 20:34:45 UTC (rev 628983)
@@ -1,55 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=libratbag
-pkgver=0.13
-pkgrel=2
-pkgdesc='A DBus daemon to configure gaming mice'
-arch=('x86_64')
-url='https://github.com/libratbag/libratbag'
-license=('MIT')
-depends=('glib2' 'libevdev' 'libudev.so' 'libunistring' 'json-glib' 'python' 'python-evdev' 'python-gobject')
-optdepends=('linux: Linux 5.2 is required for Logitech wireless devices')
-makedepends=('meson' 'swig' 'git' 'python-sphinx' 'python-sphinx_rtd_theme')
-checkdepends=('check' 'valgrind' 'python-gobject' 'python-lxml')
-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>
-source=("git+$url#tag=v$pkgver?signed")
-sha512sums=('SKIP')
-provides=('ratbagd' 'liblur')
-conflicts=('ratbagd' 'liblur')
-
-prepare() {
-  sed -i 's|sphinx-build3|sphinx-build|' $pkgname/doc/meson.build
-}
-
-build() {
-  mkdir -p $pkgname/build
-  cd $pkgname/build
-
-  arch-meson .. \
-  	-Dsystemd-unit-dir=/usr/lib/systemd/system \
-  	-Ddocumentation=true
-
-  ninja
-}
-
-check() {
-  cd $pkgname/build
-
-  meson test --no-rebuild
-}
-
-package() {
-  cd $pkgname/build
-
-  DESTDIR="$pkgdir" ninja install
-
-  # Install documentation
-  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  cp -r -a --no-preserve=ownership doc/html "$pkgdir"/usr/share/doc/$pkgname
-
-  # Install license
-  install -Dm 644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: libratbag/repos/community-x86_64/PKGBUILD (from rev 628982, libratbag/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-17 20:34:45 UTC (rev 628983)
@@ -0,0 +1,51 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=libratbag
+pkgver=0.14
+pkgrel=1
+pkgdesc='A DBus daemon to configure gaming mice'
+arch=('x86_64')
+url='https://github.com/libratbag/libratbag'
+license=('MIT')
+depends=('glib2' 'libevdev' 'libudev.so' 'libunistring' 'json-glib' 'python' 'python-evdev' 'python-gobject')
+optdepends=('linux: Linux 5.2 is required for Logitech wireless devices')
+makedepends=('meson' 'swig' 'git' 'python-sphinx' 'python-sphinx_rtd_theme')
+checkdepends=('check' 'valgrind' 'python-gobject' 'python-lxml')
+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>
+source=("git+$url#tag=v$pkgver?signed")
+sha512sums=('SKIP')
+provides=('ratbagd' 'liblur')
+conflicts=('ratbagd' 'liblur')
+
+build() {
+  mkdir -p $pkgname/build
+  cd $pkgname/build
+
+  arch-meson .. \
+  	-Dsystemd-unit-dir=/usr/lib/systemd/system \
+  	-Ddocumentation=true
+
+  ninja
+}
+
+check() {
+  cd $pkgname/build
+
+  meson test --no-rebuild
+}
+
+package() {
+  cd $pkgname/build
+
+  DESTDIR="$pkgdir" ninja install
+
+  # Install documentation
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r -a --no-preserve=ownership doc/html "$pkgdir"/usr/share/doc/$pkgname
+
+  # Install license
+  install -Dm 644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+


More information about the arch-commits mailing list