#!/bin/sh NAME="ddcutil" DESC="Query and change Linux monitor settings using DDC/CI and USB" MAKEDEPS="linux-headers autoconf automake libtool eudev libusb i2c-tools libxrandr glib kmod" PKG_VER=1.2.2 SOURCE="https://github.com/rockowitz/ddcutil/archive/v$PKG_VER.tar.gz" prepare() { NOCONFIGURE=1 ./autogen.sh } build() { ./configure \ --prefix=/usr \ --mandir=/usr/share/man make } package() { make DESTDIR="$PKG_DEST" install }