PKGBUILD errors
See original GitHub issue[itai@ManjaroPi4 linux]$ makepkg -s
==> Making package: webcord-git v1.1.0_pre1.r67.cbfb1a7-1 (Fri 16 Apr 2021 05:37:48 PM IDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning webcord git repo...
Cloning into bare repository '/home/itai/Downloads/electron-discord-webapp/build/linux/webcord'...
Username for 'https://github.com': ^C
==> ERROR: Aborted by user! Exiting...
[itai@ManjaroPi4 linux]$
I fixed it by replacing
source=("${pkgname%-git}::git+https://github.com/${_author}/${_repo}.git"
with
source=("${pkgname%-git}::git+https://github.com/SpacingBat3/electron-discord-webapp.git"
but now I get this error:
-> Found webcord.desktop
==> ERROR: Integrity checks (md5) differ in size from the source array.
[itai@ManjaroPi4 linux]$
I’m guessing it should skip checking the md5sums because of this line: md5sums=('SKIP')
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (24 by maintainers)
Top Results From Across the Web
PKGBUILD - ArchWiki
Tip: Use namcap to check PKGBUILD s for common packaging mistakes. Package name. pkgbase. When building regular packages, this variable should ...
Read more >ERROR: PKGBUILD does not exist. [Arch Linux]
The problem is that when downloading PKGBUILD , the browser added an unwanted extension to the file which turned out to be PKGBUILD...
Read more >PKGBUILD example - OviOS Linux
ERROR : Unknown download protocol: http. Aborting... Download the source before and and change the source line in PKGBUILD to point to the...
Read more >pkgbuild - README
The goal of pkgbuild is to make it easy to build packages with compiled code. ... if it is set to TRUE ,...
Read more >Help patching PKGBUILD - failing validity check
==> ERROR: One or more files did not pass the validity check! I tried putting the patch file in a directory called “src”...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It worked!
Cannot reproduce on my side, check if
docs
folder exists in${srcdir}
or${srcdir}/${pkgname%-git}
.I still need to do some minior changes in PKGBUILD to remove some unecessary packages while building app…