Package Details: edid_disable_exts 1.2-3

Git Clone URL: https://aur.archlinux.org/edid_disable_exts.git (read-only, click to copy)
Package Base: edid_disable_exts
Description: Modifies a binary EDID file and disables EDID extensions and updates the checksum
Upstream URL: http://analogbit.com/software/edid_disable_exts
Licenses: GPL
Submitter: ivanovp
Maintainer: ivanovp
Last Packager: ivanovp
Votes: 3
Popularity: 0.000000
First Submitted: 2012-03-07 14:48 (UTC)
Last Updated: 2023-12-09 12:06 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

ivanovp commented on 2023-12-09 12:06 (UTC)

@dreieck: Thanks for the patch! Applied.

dreieck commented on 2023-12-06 10:43 (UTC)

Suggested modified PKGBUILD: Diff:

--- PKGBUILD.orig   2023-12-06 11:42:40.440058843 +0100
+++ PKGBUILD    2023-12-06 11:42:58.660059460 +0100
@@ -5,3 +5,3 @@
 pkgver=1.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Modifies a binary EDID file and disables EDID extensions and updates the checksum"
@@ -11,3 +11,3 @@
 depends=()
-source=(http://analogbit.com/files/edid_disable_exts_v$pkgver.tgz)
+source=("http://analogbit.com/files/edid_disable_exts_v$pkgver.tgz")
 md5sums=('1607c4e1f5351edc89d35d844adb749e')
@@ -15,4 +15,4 @@
 build() {
-    cd $startdir/src/$pkgname
-    make || return 1
+    cd "$srcdir/$pkgname"
+    make
 }
@@ -20,5 +20,4 @@
 package() {
-    cd $startdir/src/$pkgname
-    install -d $startdir/pkg/usr/bin
-    install $pkgname $startdir/pkg/usr/bin
+    cd "$srcdir/$pkgname"
+    install -Dvm755 'edid_disable_exts' "$pkgdir/usr/bin/edid_disable_exts"
 }

Regards!

dreieck commented on 2023-12-06 10:39 (UTC)

Please quote your variables in the PKGBUILD and set executable permissions (install -m755) for the executable.

dreieck commented on 2023-12-06 10:37 (UTC)

This fails to build for me:

==> Starting build()...
/tmp/makepkg/yay/edid_disable_exts/PKGBUILD: line 16: cd: /tmp/makepkg/yay/edid_disable_exts/src/edid_disable_exts: No such file or directory

You use $startdir/src/ and $startdir/pkg/. You must not do that. You must use $srcdir/ and $pkgdir/ instead.

Reason is: If $SRCDEST is defined (e.g. in /etc/makepkg.conf), your assumptions that $srcdir and $pkgdir are in a subdirectory of $startdir break.

Please fix your PKGBUILD.

Regards and thanks for maintaining!

ivanovp commented on 2015-03-20 17:41 (UTC)

@gonciarz: Thanks, fixed.

gonciarz commented on 2015-03-19 16:45 (UTC)

source=(http://analogbit.com/files/edid_disable_exts_v$pkgver.tgz) package() { cd $startdir/src/$pkgname install -d $startdir/pkg/$pkgname/usr/bin install $pkgname $startdir/pkg/$pkgname/usr/bin }