You are not logged in.

#1 2014-01-10 22:52:50

Faerbit
Member
Registered: 2013-10-26
Posts: 11

My first PKGBUILD (MultiGPG)

Hello everyone,

I wrote a little script and now I would like to submit it to the AUR. Since this is my first PKGBUILD I am posting here to ask if I did anything wrong.

You can check it out here:MultiGPG. The PKGBUILD is in the AUR directory.

Any comments?

Greetings,

Faerbit

Offline

#2 2014-01-10 23:44:03

lspci
Member
From: Virginia, USA
Registered: 2012-06-09
Posts: 242

Re: My first PKGBUILD (MultiGPG)

Faerbit wrote:

Hello everyone,

I wrote a little script and now I would like to submit it to the AUR. Since this is my first PKGBUILD I am posting here to ask if I did anything wrong.

You can check it out here:MultiGPG. The PKGBUILD is in the AUR directory.

Any comments?

Greetings,

Faerbit

EDIT: make sure to install the binary as executable, that is

install -Dm755 $pkgname "$pkgdir"/usr/bin

Last edited by lspci (2014-01-10 23:49:30)


Please don't be a help vampire. | Bitbucket

Give a little more for a little less today.  smile

Offline

#3 2014-01-11 00:06:29

Faerbit
Member
Registered: 2013-10-26
Posts: 11

Re: My first PKGBUILD (MultiGPG)

The man page of install said that this was the default value. Is this just good practice, or do I really need it?

Offline

#4 2014-01-11 00:44:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,373
Website

Re: My first PKGBUILD (MultiGPG)

Drop the -git from the pkgname, you're building specific tags, which should be static sources. -git would be used if you were pulling master, or an otherwise active branch. You should add the makedepends array and include 'git' in it, as it's needed to pull the source.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2014-01-11 02:44:15

Faerbit
Member
Registered: 2013-10-26
Posts: 11

Re: My first PKGBUILD (MultiGPG)

Thanks WorMzy! Changed it. Anything else?

Offline

#6 2014-01-11 18:41:28

Faerbit
Member
Registered: 2013-10-26
Posts: 11

Re: My first PKGBUILD (MultiGPG)

I uploaded it: https://aur.archlinux.org/packages/multigpg/

In which category would I put it? Or where is overview where the categories are explained?

Greetings,

Faerbit

Last edited by Faerbit (2014-01-11 18:42:17)

Offline

Board footer

Powered by FluxBB