Received: from vps892.directvps.nl (ikke.info [178.21.113.177]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6BDAA781DC1 for ; Tue, 24 Dec 2019 05:53:42 +0000 (UTC) Received: by vps892.directvps.nl (Postfix, from userid 1008) id 598234400F9; Tue, 24 Dec 2019 06:53:41 +0100 (CET) Date: Tue, 24 Dec 2019 06:53:41 +0100 From: Kevin Daudt To: Galen Abell Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [PATCH] testing/dino-git: new aport Message-ID: <20191224055341.GA846450@alpha> References: <20191214181123.10757-1-galen@galenabell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191214181123.10757-1-galen@galenabell.com> Hello Galen, Thanks for your contribution. Some feedback inline. On Sat, Dec 14, 2019 at 01:11:23PM -0500, Galen Abell wrote: > https://dino.im > Modern Jabber/XMPP client > testing/ > --- > testing/dino-git/APKBUILD | 50 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 testing/dino-git/APKBUILD > > diff --git a/testing/dino-git/APKBUILD b/testing/dino-git/APKBUILD > new file mode 100644 > index 0000000000..036ed20083 > --- /dev/null > +++ b/testing/dino-git/APKBUILD > @@ -0,0 +1,50 @@ > +# Contributor: Galen Abell > +# Maintainer: Galen Abell > +pkgname="dino-git" In Alpine Linux, the preference is not to use the -git suffix. Just call it dino. > +_pkgname="dino" > +pkgver="20191213" This will prevent you from ever adopting upstream release versions if they start using that (there is no epoch like construction in APKBUILD). Instead, use this: 0_git20191213 This means this version will always be considered 'older' than any release upstream will do. > +_pkgsha="21c01dcdcb3ba7f7d5c6fcd18c5fd2117f050e5e" > +pkgrel=0 > +pkgdesc="Modern Jabber/XMPP client" > +url="https://dino.im" > +arch="all" > +license="GPL-3.0-only" > +makedepends=" > + glib-dev > + glib-networking > + gtk+3.0-dev > + gpgme-dev > + libgee-dev > + libgcrypt-dev > + libsoup-dev > + sqlite-dev > + libqrencode-dev > + cmake > + vala > + ninja > +" > +subpackages="$pkgname-lang" > +source="$_pkgname-$_pkgsha.tar.gz::https://github.com/dino/dino/archive/$_pkgsha.tar.gz" > +builddir="$srcdir/$_pkgname-$_pkgsha" > + > +build() { > + ./configure \ > + --build=$CBUILD \ > + --host=$CHOST \ > + --prefix=/usr \ > + --sysconfdir=/etc \ > + --mandir=/usr/share/man \ > + --localstatedir=/var \ > + --with-tests > + make > +} > + > +check() { > + build/xmpp-vala-test > + build/signal-protocol-vala-test > +} > + > +package() { > + make DESTDIR="$pkgdir" install > +} > +sha512sums="cc227c6bbcf62279aaf7a036ee9560b0dc7733c6774c934b16ac2b6546248ee6e48cdc06b62ea57b0e6cb1260c8f3155f18420796c325270316e1dbefb523da6 dino-21c01dcdcb3ba7f7d5c6fcd18c5fd2117f050e5e.tar.gz" > -- > 2.24.1