You are not logged in.

#1 2020-04-19 08:11:00

mathematicap
Member
Registered: 2019-05-29
Posts: 15

[SOLVED]pkgname on PKBUILD

Hi
I'm trying to build a package but the packagename on server is like name-version-source.tgz like pp-2.5-version.tgz .
how can i put the full name on PKBUILD file.
pkgname= pp
pkgver=2.5

But where can i put source .
thanks for attention

Last edited by mathematicap (2020-04-19 11:39:24)

Offline

#2 2020-04-19 09:54:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]pkgname on PKBUILD

https://wiki.archlinux.org/index.php/PKGBUILD#source

In general read that entire page, it often contains recommendations for what do with specific variables.

Offline

#3 2020-04-19 11:04:32

mathematicap
Member
Registered: 2019-05-29
Posts: 15

Re: [SOLVED]pkgname on PKBUILD

thanks
But maybe i did not undrestand or maybe you did not .
when i downloaded file from server it's name is pp-2.5-source.tgz
i had no problem on version or downloaded file
try to rename file fo pp-2.5.tgz but after run makepkg -g and locate md5 when i try to run makepkg -s orginal file downloaded so left an error that the file with pp-2.5-source.tgz is not available so
i don't have to rename it so how can I named pkgname on PKGBUILD.
sorry if I'm in mistake.

Offline

#4 2020-04-19 11:17:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]pkgname on PKBUILD

Read the link I posted again, it contains instructions on how to rename a downloaded source file directly.

Maybe stop with the cryptic descriptions, post exactly what you want to do, which software you are trying to install, the PKGBUILD you have already and the exact error message produced when running makepkg -s

Offline

#5 2020-04-19 11:38:22

mathematicap
Member
Registered: 2019-05-29
Posts: 15

Re: [SOLVED]pkgname on PKBUILD

And yes you were true
I was in mistake
thanks a lot

Last edited by mathematicap (2020-04-19 11:39:51)

Offline

Board footer

Powered by FluxBB