102.11.0-1
[arch-packages.git] / ddcutil / trunk / PKGBUILD
bloba81acda21cfc635bae2ba14ae6dcfcc8602d984e
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Deon Spengler <deon@spengler.co.za>
4 pkgname=ddcutil
5 pkgver=1.4.1
6 pkgrel=1
7 pkgdesc='Query and change Linux monitor settings using DDC/CI and USB.'
8 url='http://ddcutil.com/'
9 arch=('x86_64')
10 license=('GPL2')
11 depends=('glib2' 'i2c-tools' 'libusb' 'libdrm' 'libxrandr' 'kmod')
12 makedepends=('systemd')
13 source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
14 sha512sums=('e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857')
16 prepare() {
17   cd $pkgname-$pkgver
18   NOCONFIGURE=1 ./autogen.sh
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr
24   make
27 package() {
28   cd $pkgname-$pkgver
29   make DESTDIR="$pkgdir" install
32 # vim: ft=sh ts=2 sw=2 et