You are not logged in.

#1 2017-09-19 01:54:46

AmagicalFishy
Member
Registered: 2016-12-10
Posts: 69

Changing the source of a package while still managing it via pacman

I'd like to alter the source of scrot

I know how to use asp to retrieve the source code and PKGBUILD file, and I have a patch file w/ the appropriate changes—but I'm not sure how to go any further. Can anyone help? (Even if it's via an alternative method)

Last edited by AmagicalFishy (2017-09-19 01:55:09)

Offline

#2 2017-09-19 02:39:37

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Changing the source of a package while still managing it via pacman

You should apply the patch in the prepare() function of the PKGBUILD.  That way, when making the package, your patch will be applied.

Offline

#3 2017-09-19 13:02:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: Changing the source of a package while still managing it via pacman

make sure to give the package another  name (can be as simple as scrot-patched) and add a conflict with scrot .

Last edited by Lone_Wolf (2017-09-19 13:02:28)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB