[arch-commits] Commit in read-edid/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:24:58 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:24:57
  Author: foutrelis
Revision: 660406

archrelease: copy trunk to community-staging-x86_64

Added:
  read-edid/repos/community-staging-x86_64/
  read-edid/repos/community-staging-x86_64/PKGBUILD
    (from rev 660405, read-edid/trunk/PKGBUILD)

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

Copied: read-edid/repos/community-staging-x86_64/PKGBUILD (from rev 660405, read-edid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:24:57 UTC (rev 660406)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: LaraCraft304 <lara at craft.net.br>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+
+pkgname=read-edid
+pkgver=3.0.2
+pkgrel=3
+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')
+
+prepare() {
+    mkdir $pkgname-build
+
+    # bug in 3.0.2
+    sed -i 's/COPYING/LICENSE/' $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+    cd $pkgname-build
+    CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+    cmake "$srcdir/$pkgname-$pkgver" -DCMAKE_INSTALL_PREFIX="/usr"
+    make
+}
+
+package() {
+    cd $pkgname-build
+    make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list