You are not logged in.

#1 2013-12-17 06:10:59

The Compiler
Member
From: Switzerland
Registered: 2011-05-01
Posts: 214
Website

Packages and non-public downloads

What's the best way (™) to package software which isn't simply downloadable?

See the PKGBUILD I came up with - basically I tell the user to put the download into /tmp, and then check the checksum myself. Is there anything I could do nicer?

Thanks,

Florian


>>> from __future__ import braces
  File "<stdin>", line 1
SyntaxError: not a chance

Offline

#2 2013-12-17 06:15:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Packages and non-public downloads

It would probably be better to simply have a note in the PKGBUILD that tells the user to download the source and stick it in the same directory as the PKGBUILD.  Then add the filename to the sources array (without the leading path).  Then of course make sure that it is also included in the md5sums, or whatever checksum you choose to use.  This will greatly simplify your PKGBUILD.

Edit: So change the source to:

source=("PebbleSDK-${pkgver//_/-}.tar.gz"
        'python-waf.patch')

Last edited by WonderWoofy (2013-12-17 06:17:11)

Offline

Board footer

Powered by FluxBB