You are not logged in.

#1 2021-08-01 15:14:36

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

How to create binary to tar.zst

I just want to know because all the time building i dont like it. How can i make tar.zst formet
So that i can use sudo pacman -U
command or using own repo

Offline

#2 2021-08-01 15:40:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: How to create binary to tar.zst

You create a PKGBUILD doing the necessary steps, if you need inspiration/help look at some of the existing PKGBUILDs in the AUR if you really "just" want to package a binary look at a few PKGBUILDs with the -bin suffix.

https://wiki.archlinux.org/title/Creating_packages

Is this still about your own distribution? Which instructions did you follow to install Arch Linux?

Last edited by V1del (2021-08-01 15:44:10)

Offline

#3 2021-08-01 15:42:07

lmn
Member
Registered: 2021-05-09
Posts: 93
Website

Re: How to create binary to tar.zst

What you're looking for is a PKGBUILD script.

Also please show your work.

Offline

#4 2021-08-01 15:42:36

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: How to create binary to tar.zst

makepkg does it for you.

Offline

#5 2021-08-01 18:16:13

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: How to create binary to tar.zst

Yah .. lol you got it. Still it is a legit reason. I am just enjoying those stuff .i don't expect anything very big...

https://github.com/Alexey-T/CudaText/re … ag/1.139.5

I know how to use paru,yay ,makepkg -si .please dont give me aur link.
I want to know how to make bin to tar.zst

Wait , makepkg -s will give me tar.zst . But still it is trusting another person. Is there any better way.

And yes i tried a lot to understand .

Last edited by kazi_sifat9 (2021-08-01 18:23:14)

Offline

#6 2021-08-01 18:45:38

lmn
Member
Registered: 2021-05-09
Posts: 93
Website

Re: How to create binary to tar.zst

makepkg is not only used for the AUR.
It is part of pacman and used to build all the packages in the repos and the AUR.

What you are saying implies that you want to create your own (local) package.
In order to do that you have to write a correct PKGBUILD script. All 3 links prvided, are documentation/help for you to just do that.
makepkg will take your PKGBUILD and produce a "*tar.zst" that you can install as you would any regular package.

kazi_sifat9 wrote:

But still it is trusting another person.

Only if you dont trust yourself.

Offline

#7 2021-08-01 18:46:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,693

Re: How to create binary to tar.zst

kazi_sifat9 wrote:

But still it is trusting another person. Is there any better way.

And yes i tried a lot to understand .

I am curious (seriously and not trying to be snarky).  Have you actually read an example PKGBUILD ?   Because reading a PKGBUILD is the answer to both those questions.

I read every PKGBUILD I use before I use it, especially if I don't know the reputation of the author.  As you say, otherwise you have to not only trust another person, but that it has not be tampered in the time between when someone wrote it and you obtained it.
In addition, reading a PKGBUILD is probably the best way to learn about them and how they are structured.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2021-08-02 03:01:19

kazi_sifat9
Banned
Registered: 2021-07-18
Posts: 28

Re: How to create binary to tar.zst

Ah.. got it..
Sorry of i did annoying someone
And thanks i understood .
I don't know why arch wiki is confusing for me. And there is no other websites all the time give me idea.(google/duckduckgo). Maybe for my bad English and arch wiki alaways try to give all the knowledge with short summary. Maybe i am not enough pro user to understand.
Thanks
Solved

Last edited by kazi_sifat9 (2021-08-02 03:07:39)

Offline

Board footer

Powered by FluxBB