From 453a44d9fb5bb5b07cf563c0dd9c83c284820329 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 31 May 2020 02:14:44 +0000
Subject: read-edid: update to 3.0.2

---
 abs/extra/read-edid/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 abs/extra/read-edid/PKGBUILD

diff --git a/abs/extra/read-edid/PKGBUILD b/abs/extra/read-edid/PKGBUILD
new file mode 100644
index 0000000..c330448
--- /dev/null
+++ b/abs/extra/read-edid/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: LaraCraft304 <lara@craft.net.br>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+
+pkgname=read-edid
+pkgver=3.0.2
+pkgrel=2
+pkgdesc="Program that can get information from a PNP monitor"
+arch=('x86_64')
+url="http://www.polypux.org/projects/read-edid/"
+license=('GPL')
+depends=('libx86>=0.99')
+makedepends=('cmake')
+source=("http://www.polypux.org/projects/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('016546e438bf6c98739ff74061df9854')
+
+build() {
+    # bug in 3.0.2
+    pushd $pkgname-$pkgver
+    sed -i 's/COPYING/LICENSE/' CMakeLists.txt
+    popd
+
+    mkdir -p $pkgname-build
+    cd $pkgname-build
+    cmake "$srcdir/$pkgname-$pkgver" -DCMAKE_INSTALL_PREFIX="/usr"
+    make
+}
+
+package() {
+    cd $pkgname-build
+    make DESTDIR="$pkgdir/" install
+}
-- 
cgit v0.12

