Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] testing/otter-browser: new package

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 19 Nov 2014 09:15:34 +0100

On Tue, 11 Nov 2014 18:04:21 -0800
Isaac Dunham <ibid.ag_at_gmail.com> wrote:

> Otter is a new browser that aims to recreate the Opera 12.x UI using Qt5.
> It uses QtWebkit as the rendering engine, and takes about half as much ram
> as firefox in my experience (42 MB for a couple tabs opened at startup).
> ---
> testing/otter-browser/APKBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 52 insertions(+)
> create mode 100644 testing/otter-browser/APKBUILD
>
> diff --git a/testing/otter-browser/APKBUILD b/testing/otter-browser/APKBUILD
> new file mode 100644
> index 0000000..e536e4d
> --- /dev/null
> +++ b/testing/otter-browser/APKBUILD
> _at_@ -0,0 +1,52 @@
> +# Contributor: Isaac Dunham <ibid.ag_at_gmail.com>
> +# Maintainer: Isaac Dunham <ibid.ag_at_gmail.com>
> +pkgname=otter-browser
> +# We build from the weekly releases.
> +# Unfortunately, upstream version numbering is rather annoying:
> +# they use <next-release>-dev<week>
> +# abuild hates that, and it would break upgrades if it worked,
> +# so we use <last-release>.<week-since-release>
> +pkgver=0.9.03.01
> +_pkgver=0.9.04-dev45
> +# Weekly releases may be in otter-browser-weekly<NN> or otter-browser-<release>
> +_weekly=weekly45

I noticed this now.

How about using _alpha/_beta/_pre version suffix to tell apk that it is a pre release?

pkgver=0.9.04_pre45
_ver=${pkgver/_pre/-dev}
_weekly=${pkgver/*_pre/weekly}

Other option is to only package releases tagged[1] in git. They seem to
release often enough.


-nc

[1]: https://github.com/Emdek/otter/releases


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Nov 19 2014 - 09:15:34 GMT