X-Original-To: alpine-aports@lists.alpinelinux.org Received: from peacecraft.izsrs.biz (peacecraft.izsrs.biz [199.195.253.49]) by lists.alpinelinux.org (Postfix) with ESMTP id 2AAA35C4566 for ; Thu, 8 Dec 2016 18:59:56 +0000 (GMT) Received: by peacecraft.izsrs.biz (Postfix, from userid 1000) id 8030FE1CDF; Thu, 8 Dec 2016 01:50:32 -0500 (EST) Date: Thu, 8 Dec 2016 01:50:32 -0500 From: Andrew Domaszek To: Valery Kartel Cc: alpine-aports Subject: Re: [alpine-aports] [PATCH] testing/libzip: new aport Message-ID: <20161208065032.GA13984@peacecraft.izsrs.biz> References: <1481106600-27523-1-git-send-email-brimston3@hg0.us> 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Oops, yes it is. Sorry about that, I will search better next time. Should I create a patch for the ebook-tools APKBUILD to remove the doc submodule? On Thu, Dec 08, 2016 at 09:43:08AM +0200, Valery Kartel wrote: > Hi, > > It's alredy exists in community/libzip. > > PS there is no need to copy the license if it world-known, not custom > > 2016-12-07 12:30 GMT+02:00 Andrew Domaszek : > > > https://nih.at/libzip > > C library for handling zip files > > --- > > testing/libzip/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 38 insertions(+) > > create mode 100644 testing/libzip/APKBUILD > > > > diff --git a/testing/libzip/APKBUILD b/testing/libzip/APKBUILD > > new file mode 100644 > > index 0000000..0280402 > > --- /dev/null > > +++ b/testing/libzip/APKBUILD > > @@ -0,0 +1,38 @@ > > +# Contributor: Andrew Domaszek > > +# Maintainer: > > +pkgname="libzip" > > +pkgver="1.1.3" > > +pkgrel=0 > > +pkgdesc="C library for handling zip archives" > > +url="https://nih.at/libzip/" > > +arch="all" > > +license="BSD" > > +depends="" > > +depends_dev="perl" > > +makedepends="$depends_dev" > > +install="" > > +subpackages="$pkgname-dev $pkgname-doc" > > +source="https://nih.at/$pkgname/$pkgname-$pkgver.tar.gz" > > + > > +builddir="$srcdir"/$pkgname-$pkgver > > +build() { > > + cd "$builddir" > > + ./configure \ > > + --build=$CBUILD \ > > + --host=$CHOST \ > > + --prefix=/usr \ > > + --mandir=/usr/share/man \ > > + --infodir=/usr/share/info \ > > + || return 1 > > + make || return 1 > > +} > > + > > +package() { > > + cd "$builddir" > > + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE > > || return 1 > > + make DESTDIR="$pkgdir" install || return 1 > > +} > > + > > +md5sums="898f02db185068c8ae45bafe4c5cc81c libzip-1.1.3.tar.gz" > > +sha256sums="1faa5a524dd4a12c43b6344e618edce1bf8050dfdb9d0f73f3cc826929a002b0 > > libzip-1.1.3.tar.gz" > > +sha512sums="8534b48d2f1498b741925dbdf7510ebbdfb9773b5266ec28b1eb22b8f1a3 > > 9e7ba44d225dae7d5dc265415a30e5b5295e7061e5c97698834405ce97ef08b97326 > > libzip-1.1.3.tar.gz" > > -- > > 2.8.3 > > > > > > > > --- > > Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org > > Help: alpine-aports+help@lists.alpinelinux.org > > --- > > > > --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---