Questions tagged [makepkg]

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

24 questions
7
votes
2 answers

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 architecture. I'm doing this for a few AUR packages, and…
daisy
  • 53,527
  • 78
  • 236
  • 383
7
votes
2 answers

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. Practically every package has a -dbg variant that…
Alex Leach
  • 7,720
  • 4
  • 28
  • 27
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
5
votes
2 answers

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. How can I do that? In PKGBUILD I tried to…
German Lashevich
  • 225
  • 2
  • 12
4
votes
1 answer

"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…
Hayder Ctee
  • 140
  • 1
  • 5
4
votes
1 answer

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 git pull and let the build system handle what…
user1902689
  • 1,178
  • 3
  • 12
  • 23
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
2
votes
1 answer

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, and pacman -Rns slack surely won't work as…
SLN
  • 299
  • 5
  • 13
2
votes
1 answer

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 either compile or otherwise acquire the files to build…
anon
  • 35
  • 1
  • 5
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

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
  • 996
  • 1
  • 9
  • 23
1
vote
1 answer

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, "${pkgdir}/". That means if the .deb contains a…
Manu343726
  • 229
  • 1
  • 3
  • 9
0
votes
0 answers

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 PKGBUILD: # Maintainer: Andrew O'Neill
Lothindir
  • 1
  • 1
0
votes
0 answers

arch makepkg subliminal.git dependencies missing but installed

Using https://aur.archlinux.org/subliminal-git.git :> makepkg -si ==> Making package: subliminal-git 2.1.0.r22.g160ea63-6 (Sun Sep 25 07:46:42 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... error: target not found:…
Stephen Boston
  • 1,928
  • 3
  • 25
  • 50
0
votes
1 answer

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 =…
Mickey
  • 71
  • 1
  • 8
1
2