Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/snapraid: new aport

From: Timo Teras <timo.teras_at_iki.fi>
Date: Fri, 4 Nov 2016 09:57:14 +0200

On Mon, 24 Oct 2016 02:09:21 -0600
Nathan Caldwell <saintdev_at_gmail.com> wrote:

> A backup program for disk arrays. Targeted for use in a home media
> center. http://www.snapraid.it/
> ---
> testing/snapraid/APKBUILD | 48
> +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48
> insertions(+) create mode 100644 testing/snapraid/APKBUILD
>
> diff --git a/testing/snapraid/APKBUILD b/testing/snapraid/APKBUILD
> new file mode 100644
> index 0000000..4bb39e4
> --- /dev/null
> +++ b/testing/snapraid/APKBUILD
> _at_@ -0,0 +1,48 @@
> +# Contributor: Nathan Caldwell <saintdev_at_gmail.com>
> +# Maintainer: Nathan Caldwell <saintdev_at_gmail.com>
> +pkgname=snapraid
> +pkgver=10.0
> +pkgrel=0
> +pkgdesc="A backup program for disk arrays"
> +url="http://www.snapraid.it"
> +arch="all"
> +license="GPL3"
> +depends=""
> +depends_dev=""
> +makedepends="$depends_dev"
> +install=""
> +subpackages="$pkgname-doc"
> +source="https://github.com/amadvance/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
> +
> +_builddir="$srcdir"/$pkgname-$pkgver

It's now 'builddir'. And then a default prepare is provided that is not
needed. edge apkbuild template has been updated too.

Applied with this change. Thanks.

> +prepare() {
> + local i
> + cd "$_builddir"
> + for i in $source; do
> + case $i in
> + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return
> 1;;
> + esac
> + done
> +}


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 04 2016 - 09:57:14 GMT