Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [pkgbuild]

A "recipe" for building Arch Linux packages.

0
votes
1answer
66 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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
48 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 ...
0
votes
1answer
80 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 ...
4
votes
1answer
426 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 ...
0
votes
1answer
223 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 ...
0
votes
1answer
38 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 ...
4
votes
0answers
586 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 ...
3
votes
1answer
339 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 ...
0
votes
1answer
454 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 ...
3
votes
1answer
307 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 ...
1
vote
0answers
459 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 ...
2
votes
1answer
919 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 ...
0
votes
1answer
114 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 ...
1
vote
1answer
409 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 ...