[arch-commits] Commit in libratbag/repos (community-x86_64 community-x86_64/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Aug 16 15:10:13 UTC 2018
Date: Thursday, August 16, 2018 @ 15:10:13
Author: ffy00
Revision: 371979
archrelease: copy trunk to community-x86_64
Added:
libratbag/repos/community-x86_64/
libratbag/repos/community-x86_64/PKGBUILD
(from rev 371978, libratbag/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: libratbag/repos/community-x86_64/PKGBUILD (from rev 371978, libratbag/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-08-16 15:10:13 UTC (rev 371979)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=libratbag
+pkgver=0.9.902
+pkgrel=2
+pkgdesc='A DBus daemon to configure gaming mice'
+arch=('i686' 'x86_64')
+url='https://github.com/libratbag/libratbag'
+license=('MIT')
+depends=('glib2' 'libevdev' 'libudev.so' 'python' 'python-evdev')
+makedepends=('meson' 'swig' 'git')
+checkdepends=('check' 'valgrind' 'python-gobject' 'python-lxml')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('7c4f3c7c2864aadc6b08bd184bf924376b7ec0ac6bc5725ec0693284c39a94ee3440640f57e402c25068112866508743da6eddcdcc4d99dc5c706fda9927e03a')
+provides=('ratbagd' 'liblur')
+conflicts=('ratbagd<=0.4')
+
+build() {
+ mkdir -p "$srcdir"/$pkgname-$pkgver/build
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ meson --prefix=/usr ..
+
+ ninja
+}
+
+check() {
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ meson test -v
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ DESTDIR="$pkgdir" ninja install
+
+ install -Dm 644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list