Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/xcape: new aport

From: Leonardo Arena <rnalrd_at_gmail.com>
Date: Mon, 15 Oct 2018 13:25:13 +0200

On Mon, Oct 15, 2018 at 12:49 PM Milan P. Stanić <mps_at_arvanta.net> wrote:

> On Mon, 2018-10-15 at 11:03, Leonardo Arena wrote:
> > On Wed, Oct 3, 2018 at 6:54 PM Milan P. Stanić <mps_at_arvanta.net> wrote:
> > > https://github.com/alols/xcape
> > > use a modifier key as another key when pressed and released on its own
> > > ---
> > > testing/xcape/APKBUILD | 31 +++++++++++++++++++++++++++++++
> > > 1 file changed, 31 insertions(+)
> > > create mode 100644 testing/xcape/APKBUILD
> > >
> > >
> > didn't you get this error while building?
> >
> > (edge-x86_64) ~/aports/testing/xcape$ abuild -r
> > >>> xcape: Building testing/xcape 1.2-r0 (using abuild 3.3.0_pre1-r0)
> > >>> xcape: Checking sanity of
> /home/larena/aports/testing/xcape/APKBUILD...
> > >>> ERROR: xcape: source v1.2.tar.gz needs to be renamed to avoid
> possible
> > collisions
>
> Yes, but with 'abuild build' build is clean, no errors or warnings.
>
> What should be done? Change source url to something like:
> source="https://github.com/alols/xcape/archive/v${pkgver}.tar.gz"
> what I tried, but error is still same.
>
>

You should use:

source="$pkgname-$pkgver.tar.gz::
https://github.com/alols/xcape/archive/v${pkgver}.tar.gz"

Anything before "::" will be the filename the source with be saved with.

Thanks!

/eo



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Oct 15 2018 - 13:25:13 UTC