Mail archive
alpine-devel

Re: [alpine-devel] Possible documentation mistake in APKBUILD reference

From: Martin Galvan <omgalvan.86_at_gmail.com>
Date: Wed, 24 Jan 2018 18:27:18 -0300

In that case, should I still add $install to source just for abuild
checksums, then remove it for abuild -r?

2018-01-24 18:26 GMT-03:00 Jakub Jirutka <jakub_at_jirutka.cz>:
> Hi,
>
> it’s a mistake in the docs.
>
> Jakub
>
>> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86_at_gmail.com> wrote:
>>
>> Hi all,
>>
>> I saw that http://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install says:
>>
>> "Note: When using install scripts, $install should be included in
>> source so that checksums can be generated and used for the install
>> scripts specified in install. For example:
>>
>> install="$pkgname.pre-install $pkgname.post-install"
>> source="http://....
>> $install"
>> "
>>
>> However, if I do that, abuild -r says:
>>
>>>>> WARNING: myPackage: You should not have $install in source
>>
>> Is this a mistake in the docs, or I didn't understand how it works?
>>
>>
>> ---
>> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
>> Help: alpine-devel+help_at_lists.alpinelinux.org
>> ---
>>
>


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Jan 24 2018 - 18:27:18 GMT