[arch-commits] Commit in libratbag/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Mon Apr 13 03:52:33 UTC 2020
Date: Monday, April 13, 2020 @ 03:52:32
Author: ffy00
Revision: 613596
archrelease: copy trunk to community-x86_64
Added:
libratbag/repos/community-x86_64/PKGBUILD
(from rev 613595, libratbag/trunk/PKGBUILD)
Deleted:
libratbag/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 107 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-13 03:52:21 UTC (rev 613595)
+++ PKGBUILD 2020-04-13 03:52:32 UTC (rev 613596)
@@ -1,52 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=libratbag
-pkgver=0.13
-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=('1ea7860dfbf83010323f81b3b47e5c3c0601548c3e84f1832edc1a66092ed2bc48f28b7b02fffa47d127db1f0f4b223e6d064c16e16b194fd8388e1a37933d4f')
-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 613595, libratbag/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-13 03:52:32 UTC (rev 613596)
@@ -0,0 +1,55 @@
+# 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
+}
+
More information about the arch-commits
mailing list