You are not logged in.

#1 2018-02-16 21:39:46

skyvell
Member
Registered: 2017-03-10
Posts: 12

[SOLVED] Creating my first BUILD file

I'm trying to create my absolute first BUILD file (only personal use) so expect me to be pretty much clueless and treat me like a five year old.

I'm trying to create a package to the following source code: https://github.com/bitcoinedu-io/bitcoinedu

First and foremost: Do I need any prerequisite skills in order to do this? I do not know much about bash scripting. I've got some python experience.

From what I've gathered, I need to, at least, specify five variables: pkgname, pkgver, pkgrel, arch, license.

I've figured out the pkgname and license variable but I've no clue where to find pkgver and pkgrel.
Also how do I know which architecture to specify?

If anyone could advice me on this, in the case of my example package, I would be grateful.

Last edited by skyvell (2020-02-12 22:14:31)

Offline

#2 2018-02-16 21:42:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: [SOLVED] Creating my first BUILD file

If you haven't yet read the wiki on the topic, check it out.  The man page is a very nice source of info as well.  You can also learn by example by inspecting the PKGBUILD file for your favorite piece of software.  See: https://www.archlinux.org/packages/

After reviewing those resources, take a stab a writing one, and feel free to post it asking for review feedback.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2018-02-16 21:42:26

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Creating my first BUILD file


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#4 2018-02-16 22:01:36

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] Creating my first BUILD file

PKGBUILD covers the variables.

Offline

Board footer

Powered by FluxBB