summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-05-31 02:14:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-05-31 02:14:44 (GMT)
commit453a44d9fb5bb5b07cf563c0dd9c83c284820329 (patch)
tree7c573369590f781a9e928ea52c60e05482518d7a /abs/extra
parent98ce9d182b3c1a15c0cc33ec31ed6d13423b4b05 (diff)
downloadlinhes_pkgbuild-453a44d9fb5bb5b07cf563c0dd9c83c284820329.zip
linhes_pkgbuild-453a44d9fb5bb5b07cf563c0dd9c83c284820329.tar.gz
linhes_pkgbuild-453a44d9fb5bb5b07cf563c0dd9c83c284820329.tar.bz2
read-edid: update to 3.0.2
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/read-edid/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
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
+}