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

Filipe Laíns ffy00 at archlinux.org
Wed Nov 6 11:00:20 UTC 2019


    Date: Wednesday, November 6, 2019 @ 11:00:20
  Author: ffy00
Revision: 524341

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-06 11:00:08 UTC (rev 524340)
+++ PKGBUILD	2019-11-06 11:00:20 UTC (rev 524341)
@@ -1,52 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=libratbag
-pkgver=0.10
-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')
-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')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('e8f7cd41f394dd72b5f7c4bde710965364dc5a45061f7837fb501b9adbf23429d1793041c52401992e8394ce81b9e854fcd66ec5cb8e99a81bee774cea95c45c')
-provides=('ratbagd' 'liblur')
-conflicts=('ratbagd' 'liblur')
-
-prepare() {
-  sed -i 's|sphinx-build3|sphinx-build|' $pkgname-$pkgver/doc/meson.build
-}
-
-build() {
-  mkdir -p $pkgname-$pkgver/build
-  cd $pkgname-$pkgver/build
-
-  arch-meson .. \
-  	-Dsystemd-unit-dir=/usr/lib/systemd/system \
-  	-Ddocumentation=true
-
-  ninja
-}
-
-check() {
-  cd $pkgname-$pkgver/build
-
-  meson test --no-rebuild
-}
-
-package() {
-  cd $pkgname-$pkgver/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 524340, libratbag/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-06 11:00:20 UTC (rev 524341)
@@ -0,0 +1,52 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=libratbag
+pkgver=0.11
+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')
+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')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('3eb7b2ff6ac28cd5ceda0e3cd8eca7951ee24d43459073588fa3126ff899cebcab277f7063a8de7d0f73be09d5fb09baa39bf9cda89b74c4948a1e888039b1d7')
+provides=('ratbagd' 'liblur')
+conflicts=('ratbagd' 'liblur')
+
+prepare() {
+  sed -i 's|sphinx-build3|sphinx-build|' $pkgname-$pkgver/doc/meson.build
+}
+
+build() {
+  mkdir -p $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
+
+  arch-meson .. \
+  	-Dsystemd-unit-dir=/usr/lib/systemd/system \
+  	-Ddocumentation=true
+
+  ninja
+}
+
+check() {
+  cd $pkgname-$pkgver/build
+
+  meson test --no-rebuild
+}
+
+package() {
+  cd $pkgname-$pkgver/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