You are not logged in.

#1 2015-05-21 18:26:06

Lime
Member
Registered: 2015-05-16
Posts: 3

[SOLVED] How to makepkg from local source

Hello!
I have downloaded a tarball from the Aur and when using "makepkg -si" it downloads and compiles the source from Github just fine.
I want to do some changes on the source but I don't know how to get makepkg to use the edited files instead of getting the fresh source from Github. The only solution I have come up with is to fork on Github and change url in PKGBUILD, it works fine but it's a real hassle.
Any help is appreciated.

Last edited by Lime (2015-05-21 18:45:20)

Offline

#2 2015-05-21 18:27:35

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED] How to makepkg from local source

Make a patch containing your changes, and add that to the PKGBUILD

Offline

#3 2015-05-21 18:32:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] How to makepkg from local source

man makepkg | less -p extract

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-05-21 18:44:36

Lime
Member
Registered: 2015-05-16
Posts: 3

Re: [SOLVED] How to makepkg from local source

jasonwryan wrote:
man makepkg | less -p extract

I thought I had looked everywhere and I completely forgot about that, thanks!

Solution for anyone else wanting to do this, use -e/--noextract flag.

Offline

Board footer

Powered by FluxBB