On 7/10/18 4:58 pm, Florian Bruhin wrote:
On Sun, Oct 07, 2018 at 04:32:04PM +0700, Tom Hale wrote:
Guess you could use $_pkgname here for nixnote2. Also not sure
specifying the version there is a good idea.
https://wiki.archlinux.org/index.php/PKGBUILD#provides says:
Note: The version that the package provides should be mentioned (pkgver
and potentially the pkgrel), in case packages referencing the software
require one. For instance, a modified qt package version 3.3.8, named
qt-foobar, should use provides=('qt=3.3.8'); omitting the version number
would cause the dependencies that require a specific version of qt to
fail. Do not add pkgname to the provides array, as it is done automatically
set -o pipefail
That seems like a good idea, but I'm not sure a PKGBUILD should set it.
Maybe makepkg even does it by itself?
AFAIK it only sets -e.
Cheers to you and Luca Weiss for the reviews.
My first package will be going live soon. *happy-dance*.
--
Tom Hale