Questions tagged [makepkg]

makepkg is a script to automate the building of packages on Arch Linux

Filter by
Sorted by
Tagged with
0 votes
0 answers
130 views

Can I ask a user options when creating a PKGBUILD on Arch Linux?

I want to create a PKGBUILD file for a library (bcftools) and I found an AUR package for that. The problem is that the PKGBUILD sets some options that are not suitable for my system. Here is the ...
Lothindir's user avatar
1 vote
1 answer
51 views

Is it possible to use the magnet uri scheme in PKGBUILDs?

Is it possible to use resources exchanged with the BitTorrent protocol in pacman's PKGBUILDs?
Scrooge McDuck's user avatar
0 votes
1 answer
475 views

Arch linux: custom repo: File is corrupted (invalid or corrupted package (checksum))

I created a custom repository on my manjaro machine (to make a custom Manjaro ISO) with adding: [manjaro-mate-aur-packages] SigLevel = Never Server = https://github.com/FreaxMATE/manjaro-mate-aur-...
Mickey's user avatar
  • 71
0 votes
1 answer
607 views

Using PKGBUILD to build after hacking/changing sources?

I'm trying to hack a MSYS package, so I found https://www.msys2.org/wiki/Creating-Packages/ - as an example: git clone "https://github.com/msys2/MSYS2-packages" cd MSYS2-packages/flex ...
sdbbs's user avatar
  • 480
0 votes
1 answer
259 views

How to move a package's local git repo to another builddir and skip redownloading it yay or pacman?

I am using Arch. Last night I started installing a package whose repo size is ~2GB, but my internet connection is very slow, so I let it run overnight. It finished the download, but timed out at the ...
ReoTheYokel's user avatar
0 votes
1 answer
2k views

How to install AUR package in home directory?

IntelliJ IDEA Ultimate is not available as an Arch Linux core package, and has a built-in upgrade mechanism. For these reasons it would be convenient to install it into my home directory, letting it ...
l0b0's user avatar
  • 50.8k
3 votes
1 answer
697 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
2 votes
1 answer
4k views

how to remove a package install/build by makepkg

Follow this link, I build Slack in Arch by makepkg -sri. Unfortunately, it won't start and I decided to remove it. Issue: When I use pacman -Qm slack it returns error: package 'slack' was not found, ...
SLN's user avatar
  • 299
2 votes
1 answer
5k views

What is the difference between make and makepkg?

From Arch Wiki: Packages in Arch Linux are built using the makepkg utility. When makepkg is run, it searches for a PKGBUILD file in the current directory and follows the instructions therein to ...
anon's user avatar
  • 35
2 votes
2 answers
29k 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
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
338 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
392 views

Manjaro AUR install: what is the difference between "makepkg -s" then "pacman -U *.tar.xz" vs "makepkg -si"

In Manjaro is there any functional difference between using makepkg -s followed by then running pacman -U <package_name>.tar.xz instead of just using makepkg -si ? I've seen them both used ...
Chris Carter's user avatar
4 votes
1 answer
4k views

"Arming ConditionNeedsUpdate" error when Building Arch Linux Package

I'm trying to build an Arch Linux package for some icon theme, so I used this PKGBUILD file : pkgname=masalla pkgver=1.1 pkgrel=1 pkgdesc="A flat design icon theme by Hayder Majid" arch=('any') url=...
Hayder Ctee's user avatar
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
  • 17.5k
5 votes
2 answers
1k views

Specify submodule revision in PKGBUILD

I'm trying to install hhvm-git package from AUR and getting an error. There is a bug in one of submodules. This bug is fixed already and I want to specify revision contains that fix for the submodule. ...
German Lashevich's user avatar
0 votes
1 answer
131 views

Arch does not see sysvinit package

I want to use arch with sysvinit. As stated in Arch wiki, I downloaded and extracted sysvinit and initscripts-fork. I makepkg'd sysvinit with success, but afterwards initscripts-fork makepkg fails ...
corsel's user avatar
  • 413
4 votes
1 answer
1k views

Efficiently running arch's makepkg on git master (frequent but "small" changes)

On arch, when using makepkg to build a pacman-installable .pkg.tar.xz file from source... If it's an AUR "-git" source rather than an upstream release, is there a way to (after the first makepkg) do a ...
user1902689's user avatar
  • 1,188
1 vote
1 answer
442 views

Archlinux proper PKGBUILD: Python executable error

In a previous question, I asked about how to write a PKGBUILD to install a binary .deb package. The solution was to extract the contents of the .deb and copy the data to the archlinux package fakeroot,...
Manu343726's user avatar
0 votes
1 answer
370 views

makepkg freeze after installing dependencies

If I try to create a package from the AUR makepkg seems to freeze after installing the dependencies. It just stops after installing the last dependency and freezes with 65% CPU-Usage. Any Idea what ...
makim's user avatar
  • 573
7 votes
2 answers
4k views

Cross-Compiling with makepkg command

I'm running a x86_64 Arch Linux, now I need to build packages for a i386 Arch Linux, Is that possible? I already checked makepkg (8), it doesn't seem to support manually selection of package ...
daisy's user avatar
  • 54k
7 votes
2 answers
6k views

Best practices for attaching debug symbols to system libraries during development?

I'm at a stage in a project where it would be really handy to have a debug version of a system package installed. On Ubuntu at least, adding the debug symbols to a library is a piece of cake. ...
Alex Leach's user avatar
  • 7,800