archrelease: copy trunk to extra-x86_64
[arch-packages.git] / ddcutil / trunk / PKGBUILD
blob3f6f77a2d2a7a6b51d8fd90ec32e84744fe38fb4
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Deon Spengler <deon@spengler.co.za>
4 pkgname=ddcutil
5 pkgver=1.4.0
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')
12 makedepends=('systemd')
13 source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
14 sha512sums=('c0486c1bf8469bf55611c4e6ca31f8a8960ae9a93d8cca55979f03d5f95918b6e77c30fdcb2a291dd28c9d3cf0e8679f5bbb614b4f3c57fc3655294163c7aa00')
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