Questions tagged [pkgbuild]

A "recipe" for building Arch Linux packages.

27 questions
9
votes
2 answers

How to resume package building in debian?

I am running debian stretch and following this guide for building package from source for debian. Sometimes building process takes hours , when I run dpkg-buildpackage -rfakeroot again , it starts building from scratch. dpkg-buildpackage --help …
jonny789
  • 489
  • 4
  • 19
5
votes
0 answers

How to update an Arch Linux PKGBUILD file for new version (printer driver)?

I want to install the CUPS driver for the Brother QL-1060N label printer on Arch Linux. Fortunately, there is an AUR package available. (Arch is amazing.) However, the AUR package is a bit out of date. My question is, how can I edit the PKGBUILD…
MountainX
  • 17,168
  • 59
  • 155
  • 264
4
votes
1 answer

How to check an AUR package for malicious code?

Malicious code has been found and deleted later from 3 AUR packages acroread, blaz and minergate (e,g: acroread PKGBUILD detail). It was found in a commit released by a malicious user by changing the owner of the orphaned AUR package and including a…
GAD3R
  • 63,407
  • 31
  • 131
  • 192
3
votes
1 answer

Should I worry about 'WARNING: Package contains reference to $srcdir'?

I was building font-manager package from AUR on my Arch system. It is throwing a warning while the process : ==> WARNING: Package contains reference to $srcdir usr/lib/font-manager/libfontmanager.so.0.7.9 Should I worry about this warning ? Is it…
cheesesticks
  • 351
  • 2
  • 11
3
votes
1 answer

Under Archlinux. How do I keep track of debug info for packages ?

I have the need for debug info for glibc. I constantly copy PKGBUILD out of /var/abs, and build the package, every time after I upgraded glibc. I wonder whether I can save the effort? Either forcing pacman do the job for me, or taking advantage of…
wuyihao
  • 168
  • 11
3
votes
1 answer

Arch Linux: Why people do not do "make install" in PKGBUILD?

I'm analyzing different PKGBUILDs to learn creating packages for Arch. I saw in a lot of them, that they do make on sources, and then manually copy files in the different places with the install command, instead of running make install. Is there a…
Łukasz Zaroda
  • 6,083
  • 4
  • 17
  • 24
2
votes
1 answer

How to sign my own Arch Linux git packages for adding to a private repo?

I already have a GPG key configured. I have cloned the git source code package locally. I'm building in a chroot with extra-x86_64-build. I am able to build packages without signing and add them to the local private repo. Now I want to build the…
MountainX
  • 17,168
  • 59
  • 155
  • 264
2
votes
2 answers

"PKGBUILD does not exist" when running "makepkg -cf"

When I run makepkg -cf, I get an error: ==> ERROR: PKGBUILD does not exist. But if I run makepkg -p PKGBUILD.asc it works. Can someone explain to me someone why the first doesn't work?
Mitsworth SCZD
  • 241
  • 1
  • 4
  • 10
1
vote
1 answer

find package with multiple names pacman

Some packages like gcc-libs are apparently other packages, under a different name. turns out gcc-libs is just gcc: PKGBUILD if I want to install that package, I know I can run pacman -S gcc-libs, but how can I find the original package, as in, the…
sef sf
  • 72
  • 7
1
vote
1 answer

How to download and backup all pacman and pacaur packages?

I would like to have an backup of all pacaur and pacman packages. Example: https://www.archlinux.org/packages/ How to download it all?
SpotBR
  • 11
  • 2
1
vote
0 answers

Error while loading shared libraries: libreadline.so.7

I am trying to install the Agena programming language for a school project on Arch Linux. There is no package in the AUR, so I am trying to make my own PKGBUILD file. I think I have managed to install it, but when I try to run it, I get this…
1
vote
1 answer

Open Build Service: PKGBUILD complains: nothing provides perl

I am trying to get Open Build Service to accept this PKGBUILD: # Maintainer: Ole Tange pkgname=parallel pkgver=20200622 pkgrel=2 pkgdesc='Build and execute shell command lines from standard input in…
Ole Tange
  • 33,591
  • 31
  • 102
  • 198
1
vote
1 answer

error: PKGBUILD contains CRLF characters and cannot be executed

When trying to install some (though not all) packages from AUR using yay or pacaur, such as rstudio-desktop or zotero, I get the following errors (translated from German): :: checking integrity of zotero... ==> ERROR: PKGBUILD contains CRLF…
andreas
  • 11
  • 2
1
vote
0 answers

How to determine dependencies for a package

Before I create a PKGBUILD I always double check the required libraries of an application with the ldd utility. Software developers frequently omit required packages from their README/INSTALL files and package names frequently differ between…
edotux
  • 11
  • 2
1
vote
1 answer

How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?

I am working on the atom-editor-git PKGBUILD in the AUR, hoping to turn it into an Atom equivalent to the gvim-git PKGBUILD. See the gvim-git PKGBUILD updates its package version whenever it is run to the latest release of gVim, e.g., if I was to…
Josh Pinto
  • 3,483
  • 15
  • 52
  • 87
1
2