Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/dzen: modernise APKBUILD

From: Sören Tempel <soeren_at_soeren-tempel.net>
Date: Wed, 1 Nov 2017 22:29:59 +0100

Hi Cág,

On 01.11.17, Cág wrote:
> _at_@ -21,14 +21,14 @@ prepare() {
> cd "$_builddir"
> for i in $source; do
> case $i in
> - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
> + *.patch) msg $i; patch -p1 -i "$srcdir"/$i;;
> esac
> done
> }

Since you already started modernizing this aport I would suggest
removing that function entirely since this is what is nowadays done by
default_prepare [1]. In order to utilize that function `_builddir` needs
to be renamed to `builddir`.

It would be nice if you could also apply this change for main/acpi.

[1]: https://git.alpinelinux.org/cgit/abuild/tree/abuild.in?h=v3.1.0#n595

Cheers,
Sören


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Nov 01 2017 - 22:29:59 GMT