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

Filipe Laíns ffy00 at archlinux.org
Wed Dec 18 19:32:26 UTC 2019


    Date: Wednesday, December 18, 2019 @ 19:32:26
  Author: ffy00
Revision: 538083

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-18 19:32:21 UTC (rev 538082)
+++ PKGBUILD	2019-12-18 19:32:26 UTC (rev 538083)
@@ -1,52 +0,0 @@
-# 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
-}
-

Copied: libratbag/repos/community-x86_64/PKGBUILD (from rev 538082, libratbag/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-18 19:32:26 UTC (rev 538083)
@@ -0,0 +1,52 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=libratbag
+pkgver=0.12
+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=('9b530f556014be6a3443d9a43bfcb72aa17a85262c7c8c1e17bcc41bd1e64e7c138a34f19a5afc67d4d3704f68474e5ed511ec28e17be205263711c5d79bc52e')
+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