[arch-commits] Commit in iio-sensor-proxy/trunk (PKGBUILD)

Filipe Laíns ffy00 at gemini.archlinux.org
Sat Jul 10 22:15:13 UTC 2021


    Date: Saturday, July 10, 2021 @ 22:15:12
  Author: ffy00
Revision: 976502

upgpkg: iio-sensor-proxy 3.1-1

Modified:
  iio-sensor-proxy/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-10 22:02:57 UTC (rev 976501)
+++ PKGBUILD	2021-07-10 22:15:12 UTC (rev 976502)
@@ -5,7 +5,7 @@
 # Contributor: Pablo Lezeta <prflr88 at gmail.com>
 
 pkgname=iio-sensor-proxy
-pkgver=3.0
+pkgver=3.1
 pkgrel=1
 pkgdesc='IIO accelerometer sensor to input device proxy'
 arch=('x86_64')
@@ -12,32 +12,31 @@
 url='https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/'
 license=('GPL2')
 depends=('systemd' 'libgudev' 'gtk3')
-makedepends=('gtk-doc' 'gnome-common')
+makedepends=('meson')
+checkdepends=('python-gobject' 'python-dbusmock' 'python-psutil' 'umockdev')
 source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('d1d25fe8220a05d25a3fd74fe8550176df86f0907e2a184df74e40ecee0578178f42d84fe42474b0b79b6e8603de3410fe1dd2ac5621cb2bea4b41fbea5f273b')
+sha512sums=('cd5891db3929dc1487c3da7d64ba62d4106c09889ba73a100fe4b5cda15470e00ece71a61042a6bdd1f9896a78a8460acff5bcd8fc794401aa1013481cf47fb1')
 
 build() {
-  cd $pkgname-$pkgver
+  mkdir $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
 
-  aclocal --verbose --install --force
-  gtkdocize --copy --flavour no-tmpl
-  autoreconf -vif
+  arch-meson .. \
+    -Dsystemdsystemunitdir=/usr/lib/systemd/system \
+    -Dudevrulesdir=/usr/lib/udev/rules.d
 
-  ./configure \
-  	--prefix=/usr \
-  	--sysconfdir=/usr/share \
-  	--bindir=/usr/bin \
-  	--sbindir=/usr/bin \
-  	--libdir=/usr/lib \
-  	--libexecdir=/usr/lib \
-  	--with-dbuspolicydir
+  ninja
+}
 
-  make
+check() {
+  cd $pkgname-$pkgver/build
+
+  ninja test
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname-$pkgver/build
 
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja install
 }
 




More information about the arch-commits mailing list