[arch-commits] Commit in ddcutil/repos (community-x86_64 community-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Jun 19 12:45:57 UTC 2020


    Date: Friday, June 19, 2020 @ 12:44:45
  Author: felixonmars
Revision: 647668

archrelease: copy trunk to community-x86_64

Added:
  ddcutil/repos/community-x86_64/
  ddcutil/repos/community-x86_64/PKGBUILD
    (from rev 647667, ddcutil/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: ddcutil/repos/community-x86_64/PKGBUILD (from rev 647667, ddcutil/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-06-19 12:44:45 UTC (rev 647668)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Deon Spengler <deon at spengler.co.za>
+
+pkgname=ddcutil
+pkgver=0.9.8
+pkgrel=1
+pkgdesc='Query and change Linux monitor settings using DDC/CI and USB.'
+url='http://ddcutil.com/'
+arch=('x86_64')
+license=('GPL2')
+depends=('glib2' 'libusb' 'libdrm' 'libxrandr')
+makedepends=('systemd')
+source=(https://github.com/rockowitz/ddcutil/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('445478a226d3fc46c6c058e503bba416948dad1152736b3c91326e60bbfc9025')
+
+prepare() {
+  cd $pkgname-$pkgver
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: ft=sh ts=2 sw=2 et



More information about the arch-commits mailing list