Skip to main content

Questions tagged [pkgbuild]

A "recipe" for building Arch Linux packages.

Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

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 ...
sef sf's user avatar
  • 72
0 votes
2 answers
291 views

Can't execute shell script in AUR PKGBUILD

In the PKGBUILD file for an AUR I am working on, I get the following error in my package() function: ./install.sh: No such file or directory here is the function: package() { cd /opt/"$...
lcleary's user avatar
0 votes
1 answer
387 views

How to install 32-bit version of package in PKGBUILD?

So I took over an orphaned AUR package that contains separate sources for 32-bit and 64-bit packages. I'm on a 64-bit machine, but I want to also test that the 32-bit installation works before I push ...
Dr-Bracket's user avatar
1 vote
1 answer
2k views

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's user avatar
  • 11
1 vote
0 answers
1k views

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 ...
Abraham Murciano Benzadon's user avatar
2 votes
1 answer
2k views

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 ...
MountainX's user avatar
  • 18.1k
3 votes
1 answer
813 views

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....
cheesesticks's user avatar
1 vote
1 answer
291 views

Open Build Service: PKGBUILD complains: nothing provides perl

I am trying to get Open Build Service to accept this PKGBUILD: # Maintainer: Ole Tange <[email protected]> pkgname=parallel pkgver=20200622 pkgrel=2 pkgdesc='Build and execute shell command lines ...
Ole Tange's user avatar
  • 35.7k
2 votes
2 answers
32k views

"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's user avatar
1 vote
1 answer
2k views

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 ...
andreas's user avatar
  • 11
0 votes
1 answer
3k views

Installing .deb (Brackets.Release.1.13.64-bit.deb) package in arch Linux

The latest release of Brackets (v1.13) is not available in the AUR. So I downloaded the official .deb package from the official site. Now how do I go about installing it ? Do I have to write a ...
Just Khaithang's user avatar
0 votes
1 answer
367 views

How to compile Neofetch (from git) in arch Linux?

I know the latest Neofetch is available in the official arch repository but I want to build it from the git clone. Since it doesn't have the PKGBUILD so makepkg is out of question and the global step ...
Just Khaithang's user avatar
0 votes
1 answer
1k views

How do I make PKGBUILD to install to fake root before makepkg builds

I have a tree which I need to install with a foder named /usr. This folder exists in src folder. Now I need to write a function in PKGBUILD that installs to the fakeroot before the *.pkg.tar.gz is ...
Bret Joseph's user avatar
0 votes
1 answer
270 views

Can I build from source using just the PKGBUILD file, or do I have to checkout the whole source tree?

I want to build Vim from source in Arch Linux to get various non-standard features in the resulting binary. I notice that the PKGBUILD file has URLs in it. Does this mean I can do the build with just ...
Tyler Durden's user avatar
  • 5,743
1 vote
1 answer
612 views

list dependencies of pkgbuild with shell script

How can I list dependencies of a PKGBUILD file with shell script? For example, in a google-chrome's PKGBUILD, I want the script to extract all dependencies (including makedependencies, dependencies ...
Du Brisingr Arget's user avatar
4 votes
1 answer
3k views

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 ...
GAD3R's user avatar
  • 67.3k
0 votes
1 answer
3k views

Whats the alternative to “exclude” command of rpm.spec file in debian package building

While building an rpm package we can use this exclude command in the spec file to exclude the particular file in certain packages. ex. %exclude foobar/bin/printjob_svr.bin How and where do we ...
Sanidhya's user avatar
0 votes
1 answer
132 views

Different classes of Linux packages

I do know that there are 4 different classes of packages in Linux: Packages provided by the operating system Packages provided by third parties Self-made packages of third-party software Self-made ...
alkabary's user avatar
  • 1,509
5 votes
0 answers
1k views

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 ...
MountainX's user avatar
  • 18.1k
9 votes
2 answers
2k views

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 ...
jonny789's user avatar
  • 499
0 votes
1 answer
1k views

Need to package up a couple local, executable files on Arch Linux and be able to install them on another Arch Linux machine [closed]

I have been researching PKGBUILD and makepkg, but I cannot seem to figure out how to simply make a package with already built, local executable files. I need to package them up so that I can easily ...
Russmania101's user avatar
3 votes
1 answer
688 views

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 ...
wuyihao's user avatar
  • 168
1 vote
0 answers
1k views

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 ...
edotux's user avatar
  • 11
3 votes
1 answer
2k views

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 ...
Łukasz Zaroda's user avatar
0 votes
1 answer
365 views

Using http remote MD5 hash

I would like to use the md5sums function of pkgbuild without keeping track of new hashsum at each update, and just change the pkgver variable to build a new version of my package. md5 are available ...
Zulgrib's user avatar
  • 984
1 vote
1 answer
671 views

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 ...
Josh Pinto's user avatar
  • 3,493