# Contributor: Alex Laskin # Maintainer: Bart Ribbers pkgname=ddcutil pkgver=1.4.1 pkgrel=0 pkgdesc="Query and change Linux monitor settings using DDC/CI and USB" url="https://github.com/rockowitz/ddcutil" arch="all" license="GPL-2.0-only" makedepends=" autoconf automake eudev-dev glib-dev i2c-tools-dev kmod-dev libtool libusb-dev libxrandr-dev linux-headers " subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/rockowitz/ddcutil/archive/v$pkgver.tar.gz" prepare() { default_prepare NOCONFIGURE=1 ./autogen.sh } build() { ./configure \ --prefix=/usr \ --mandir=/usr/share/man make } package() { make DESTDIR="$pkgdir" install } sha512sums=" e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857 ddcutil-1.4.1.tar.gz "