X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id D3F5D5C4E01 for ; Tue, 21 Nov 2017 15:05:49 +0000 (GMT) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 5DC449E1DB5; Tue, 21 Nov 2017 15:05:49 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (15.63.200.37.customer.cdi.no [37.200.63.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id ABA199E03C4; Tue, 21 Nov 2017 15:05:48 +0000 (GMT) Date: Tue, 21 Nov 2017 16:05:43 +0100 From: Natanael Copa To: Jose Maria Garcia Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/zile: new aport Message-ID: <20171121160543.41fae14f@ncopa-desktop.copa.dup.pw> In-Reply-To: <20171117193741.8370-1-josemaria.alkala@gmail.com> References: <20171117193741.8370-1-josemaria.alkala@gmail.com> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi! Thank you for contributing! Please see comments below. On Fri, 17 Nov 2017 20:37:41 +0100 Jose Maria Garcia wrote: > https://www.gnu.org/software/zile/ > GNU Zile is a text editor development kit. > --- > testing/zile/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ > testing/zile/APKBUILD~ | 34 ++++++++++++++++++++++++++++++++++ > 2 files changed, 68 insertions(+) > create mode 100644 testing/zile/APKBUILD > create mode 100644 testing/zile/APKBUILD~ > > diff --git a/testing/zile/APKBUILD b/testing/zile/APKBUILD > new file mode 100644 > index 0000000000..0cc9ec7071 > --- /dev/null > +++ b/testing/zile/APKBUILD > @@ -0,0 +1,34 @@ > +# Contributor: Jose Maria Garcia > +# Maintainer: Jose Maria Garcia > +pkgname=zile > +pkgver=2.4.14 > +pkgrel=1 We start counting pkgrel from 0 in alpine. > +pkgdesc="GNU Zile is a text editor development kit." > +url="https://www.gnu.org/software/zile" > +arch="all" > +license="GPL3" > +depends="ncurses gc" You don't need add the runtime shared libraries manually to depends. abuild will detect them for you and keep track in what package keeps which library. > +makedepends="ncurses-dev gc-dev perl help2man" > +install="" > +subpackages="${pkgname}-doc" > +source="http://ftp.gnu.org/gnu/zile/${pkgname}-${pkgver}.tar.gz" > +builddir="$srcdir/${pkgname}-${pkgver}" > + > +build() { > + cd "$builddir" > + ./configure \ > + --prefix=/usr \ > + --sysconfdir=/etc \ > + --mandir=/usr/share/man \ > + --localstatedir=/var > + make > +} > + > +package() { > + cd "$builddir" > + make DESTDIR="$pkgdir" install > + rm -f "$pkgdir"/usr/lib/charset.alias > +} > + Those looks good. +sha512sums="0dea56fd13a82015ec73de3139a4b2c27ad4c001ed535f1bae557ee49f9d8a188610a08160998d0a36b95fec42b46a019fd43634ef6502ebd27e162164de98cc zile-2.4.14.tar.gz" > + > diff --git a/testing/zile/APKBUILD~ b/testing/zile/APKBUILD~ > new file mode 100644 > index 0000000000..519922781c > --- /dev/null > +++ b/testing/zile/APKBUILD~ I suppose this file should not been included in the commit? Can you please fix the above issues and resend? http://wiki.alpinelinux.org/wiki/Creating_patches#Resend_an_updated_patch Thanks! -nc > @@ -0,0 +1,34 @@ > +# Contributor: Jose Maria Garcia > +# Maintainer: > +pkgname=zile > +pkgver=2.4.14 > +pkgrel=0 > +pkgdesc="GNU Zile is a text editor development kit." > +url="https://www.gnu.org/software/zile" > +arch="all" > +license="GPL3" > +depends="ncurses gc" > +makedepends="ncurses-dev gc-dev perl help2man" > +install="" > +subpackages="${pkgname}-doc" > +source="http://ftp.gnu.org/gnu/zile/${pkgname}-${pkgver}.tar.gz" > +builddir="$srcdir/${pkgname}-${pkgver}" > + > +build() { > + cd "$builddir" > + ./configure \ > + --prefix=/usr \ > + --sysconfdir=/etc \ > + --mandir=/usr/share/man \ > + --localstatedir=/var > + make > +} > + > +package() { > + cd "$builddir" > + make DESTDIR="$pkgdir" install > + rm -f "$pkgdir"/usr/lib/charset.alias > +} > + > +sha512sums="0dea56fd13a82015ec73de3139a4b2c27ad4c001ed535f1bae557ee49f9d8a188610a08160998d0a36b95fec42b46a019fd43634ef6502ebd27e162164de98cc zile-2.4.14.tar.gz" > + --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---