You are not logged in.

#1 2015-11-28 14:16:24

Wabuo
Member
Registered: 2015-03-21
Posts: 5

Pleas verify my first PKGBUILD =)

Hey here is my first working PKGBUILD!
https://github.com/Wabuo/PKGBUILD/blob/ … g/PKGBUILD
I would love if you folks could approve it.


thx for your time Wabuo

Last edited by Wabuo (2015-11-28 14:17:00)

Offline

#2 2015-11-28 14:51:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: Pleas verify my first PKGBUILD =)

I'd give the source file a better name

source=(thea-the-awakening.zip::https://onedrive.live.com/download?resi....

Offline

#3 2015-11-28 14:57:42

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,972

Re: Pleas verify my first PKGBUILD =)

a few comments :

- your package doesn't compile from source,but installs pre-compiled binaries .
convention is to add "-bin" to the packagename to make that clear.

- no need to manually extract the zip-file in the prepare function ,makepkg can handle zip-files.
get rid of the prepare function,  use something like this in sources array to improve readability :

"thea.zip::https://onedrive.live.com/download?resid=D09AAF078EFDC73D!2983&authkey=!AGxe3W4ByFCzWfs&ithint=file%2czip"

- the fact upstream doesn't provide checksums doesn't mean they will be useless.
using checksums will make it easier to verify users are downloading the same files you used.

generate them with updpkgsums.

- license=('custom: commercial')
for custom licenses you need to put the license file in the correct place.
check https://wiki.archlinux.org/index.php/Ar … s#Licenses

ADDED
PKGEXT=.pkg.tar
usually overriding user makepkg.conf setting is frowned upon.
I think i understand why you did it, but please add some comments making clear why you do this.

Last edited by Lone_Wolf (2015-11-28 15:02:07)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2015-11-28 15:20:29

Wabuo
Member
Registered: 2015-03-21
Posts: 5

Re: Pleas verify my first PKGBUILD =)

Thx for your answers!

Lone_Wolf wrote:

license=('custom: commercial')
for custom licenses you need to put the license file in the correct place.
check https://wiki.archlinux.org/index.php/Ar … s#Licenses

I would but there is non right now! There is only a steam forum post with a download link, what should I do in this case?

The developer wrote:

Thea the Linux version!
So, Khash mentioned in another thread that we are unable to support, or even test Thea on Linux, and sadly, nothing has changed here. But, we decided to make the Linux version, as it is, available to anyone who wants to play with it.

Now I will just say once more that we will not be supporting this version and we do not know how well it works as it is, but hey, if you want to check it out, its here and it's free.

If you decide to have a go at it, please do leave us some feedback. Who knows, maybe one day we'll be able to play with it ourselves and fix it up, but no promises!

Enjoy!

https://onedrive.live.com/redir?resid=D … file%2czip

About the "PKGEXT=.pkg.tar" - I forgot there ...

Last edited by Wabuo (2015-11-28 15:23:08)

Offline

#5 2015-11-28 15:57:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,575
Website

Re: Pleas verify my first PKGBUILD =)

If there is no license, it is illegal to use it.  Period.

You could, perhaps, just copy that forum post from the developer into a text file and call it a License.  It grants permission, but it doesn't really establish ownership (and thus rights to grant permission).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2015-11-28 18:12:54

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: Pleas verify my first PKGBUILD =)

Trilby wrote:

If there is no license, it is illegal to use it.  Period.

Trilby, check:

pacman -Qi iana-etc

It says there's no license for it either. I wonder what that means.

Offline

#7 2015-11-28 18:21:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,575
Website

Re: Pleas verify my first PKGBUILD =)

That is not software - that means nothing.

$ cat /usr/share/licenses/iana-etc/LICENSE
The contents of this package are inelligible for copyright protection.

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB