X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by lists.alpinelinux.org (Postfix) with ESMTP id DFC345C4BD7 for ; Thu, 8 Dec 2016 07:43:09 +0000 (GMT) Received: by mail-wm0-f46.google.com with SMTP id a197so204080957wmd.0 for ; Wed, 07 Dec 2016 23:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8gIpC8GmhgXscq7o4VfzddC5YIw38ZeKjsx4xmsplNw=; b=ixrplW/7/hiAT5nJfJTKDoanmHTE6vtUFx76GncoUd13/y36Nzsra4+Y8xUav+XMOM W+bPaN4ffRmbIbsVQPipjoxR1UmQC84y4yd5KOnwE2XFR4H0FzODehSAmGYBXhjACWoH IX/67md0JYebBA7S60o2xfKD/nKnOONeFny27ZKtjxNt2HpxyJU1t6q1zsO+a11N0o5o nRPcp0Hzf5tBlOIG+ZBWW9XXT2QCb6Sb5AyKyLhMI/pr591LkCr+JbPDIdfChf/8XjNc V5CF9BTSoLwo2pZpjXHW3Wt8FbRnujfp7tTZWx4EX0XtHoxfeeUAkYY5583x/uYP3GP6 rDrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8gIpC8GmhgXscq7o4VfzddC5YIw38ZeKjsx4xmsplNw=; b=GJ/NfXWdY5qJcNymAijJg0qMWj3n5vEq0B3oBOfC/A5fWSHCsZMOplqsZzE+ucNNIU YnahUkD5nSLto5pFlq01GeWOlhtXf4RgiMlhTt05xDJGT/s1udvfxrrC9LgVORFx/Aqq v3m8Sxabfpeu0TBWTv1ZGJKgwu5O8hTLeBIXxL67HvkA3Ev+ZYIkOtA8ROSK/Z59+EE+ Eh8wj+w6mo7cOGfcSen30c71MryqJ/5Dd6RvhJREg2jOBJ+YxNuUiM4sKtX21QTTATHP aVy/o+bKr1HCRTDBVwh3o2f6uJQxXSfjLK4DCDcaq7UWrxjXLmT6ASRWbkbosOzRowH4 xJLg== X-Gm-Message-State: AKaTC00tC/qh+ewwTpuHvpoRVD5HkQlNWOd9WuVDXgt7XW8ZgV8pSIkdo/ROubb9NOhr/nt/gNRaRGbhWSiyQQ== X-Received: by 10.28.187.67 with SMTP id l64mr211511wmf.114.1481182989046; Wed, 07 Dec 2016 23:43:09 -0800 (PST) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.80.176.36 with HTTP; Wed, 7 Dec 2016 23:43:08 -0800 (PST) In-Reply-To: <1481106600-27523-1-git-send-email-brimston3@hg0.us> References: <1481106600-27523-1-git-send-email-brimston3@hg0.us> From: Valery Kartel Date: Thu, 8 Dec 2016 09:43:08 +0200 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/libzip: new aport To: Andrew Domaszek Cc: alpine-aports Content-Type: multipart/alternative; boundary=001a114b0a7ee8d9d0054320c9cd --001a114b0a7ee8d9d0054320c9cd Content-Type: text/plain; charset=UTF-8 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 > --- > > --001a114b0a7ee8d9d0054320c9cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

It's alredy exists in commu= nity/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 <brimston3@hg0.us>:
https://nih.at/libzip
C library for handling zip files
---
=C2=A0testing/libzip/APKBUILD | 38 +++++++++++++++++++++++++++++++++++= +++
=C2=A01 file changed, 38 insertions(+)
=C2=A0create 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 <bri= mston3@hg0.us>
+# Maintainer:
+pkgname=3D"libzip"
+pkgver=3D"1.1.3"
+pkgrel=3D0
+pkgdesc=3D"C library for handling zip archives"
+url=3D"https://nih.at/libzip/"
+arch=3D"all"
+license=3D"BSD"
+depends=3D""
+depends_dev=3D"perl"
+makedepends=3D"$depends_dev"
+install=3D""
+subpackages=3D"$pkgname-dev $pkgname-doc"
+source=3D"https://nih.at/$pkgname/$pkgname= -$pkgver.tar.gz"
+
+builddir=3D"$srcdir"/$pkgname-$pkgver
+build() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "$builddir"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0./configure \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--build=3D$CBUILD \=
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--host=3D$CHOST \ +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--prefix=3D/usr \ +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--mandir=3D/usr/sha= re/man \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--infodir=3D/usr/sh= are/info \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|| return 1
+=C2=A0 =C2=A0 =C2=A0 =C2=A0make || return 1
+}
+
+package() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "$builddir"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0install -Dm644 LICENSE "$pkgdir"/usr/= share/licenses/"$pkgname"/LICENSE || return 1
+=C2=A0 =C2=A0 =C2=A0 =C2=A0make DESTDIR=3D"$pkgdir" install || r= eturn 1
+}
+
+md5sums=3D"898f02db185068c8ae45bafe4c5cc81c=C2=A0 libzip-1.= 1.3.tar.gz"
+sha256sums=3D"1faa5a524dd4a12c43b6344e618edce1bf8050dfdb9d0= f73f3cc826929a002b0=C2=A0 libzip-1.1.3.tar.gz"
+sha512sums=3D"8534b48d2f1498b741925dbdf7510ebbdfb9773b5266e= c28b1eb22b8f1a39e7ba44d225dae7d5dc265415a30e5b5295e7061e5c9769883= 4405ce97ef08b97326=C2=A0 libzip-1.1.3.tar.gz"
--
2.8.3



---
Unsubscribe:=C2=A0 alpine-aports+unsubscribe@lists.alpinelinux.org
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-aports+help@lists.alpinelinux.org=
---


--001a114b0a7ee8d9d0054320c9cd-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---