Mail archive
alpine-aports

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

From: Timo Teras <timo.teras_at_iki.fi>
Date: Thu, 9 Feb 2017 08:53:04 +0200

On Wed, 08 Feb 2017 17:59:22 +0000
Alexander Rigbo <alex_at_dnb.nu> wrote:

> http://netatalk.sourceforge.net
> Netatalk is a freely-available Open Source AFP fileserver.

I got:
error: corrupt patch at line 78

Sounds like your e-mail client mungled the patch? Could you resend with
git send-email ?

> +subpackages="$pkgname-doc"
> +source="
> + http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
> + netatalk.initd
> + netatalk.confd
> + "

Be sure to use tabs and not spaces (or possibly this was part of the
email client mungling too?).

> +builddir="$srcdir/$pkgname-$pkgver"
> +
> +build() {
> + cd "$builddir"
> + ./configure \
> + --build=$CBUILD \
> + --host=$CHOST \
> + --prefix=/usr \
> + --sysconfdir=/etc \
> + --mandir=/usr/share/man \
> + --localstatedir=/var \
> + || return 1
> + make || return 1
> +}
> +
> +package() {
> + cd "$builddir"
> + make DESTDIR="$pkgdir" install || return 1
> +
> + install -m755 -D "$srcdir"/$pkgname.initd \
> + "$pkgdir"/etc/init.d/$pkgname || return 1
> + install -m644 -D "$srcdir"/$pkgname.confd \
> + "$pkgdir"/etc/conf.d/$pkgname || return 1
> +}


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Feb 09 2017 - 08:53:04 GMT