Mail archive
alpine-aports

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

From: Leonardo Arena <rnalrd_at_gmail.com>
Date: Thu, 23 Mar 2017 11:42:42 +0100

Hi,

On 22/03/2017 17:57, Ivan Tham wrote:
> https://bitbucket.org/EionRobb/purple-hangouts
> Hangouts Plugin for libpurple
> ---
> testing/libpurple-hangouts/APKBUILD | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 testing/libpurple-hangouts/APKBUILD
>

>>> libpurple-hangouts: Unpacking
/var/cache/distfiles/purple-hangouts-20170313.tar.bz2...
/usr/bin/abuild: cd: line 1: can't cd to
/home/larena/aports/testing/libpurple-hangouts/src/EionRobb-purple-hangouts-*
>>> ERROR: libpurple-hangouts: all failed

could you fix it please?

> diff --git a/testing/libpurple-hangouts/APKBUILD b/testing/libpurple-hangouts/APKBUILD
> new file mode 100644
> index 0000000000..c8cc8d0ab6
> --- /dev/null
> +++ b/testing/libpurple-hangouts/APKBUILD
> _at_@ -0,0 +1,25 @@
> +# Contributor: Ivan Tham <pickfire_at_riseup.net>
> +# Maintainer: Ivan Tham <pickfire_at_riseup.net>
> +pkgname=libpurple-hangouts
> +_pkgname=${pkgname#lib}
> +pkgver=20170313
> +pkgrel=0
> +pkgdesc="Hangouts Plugin for libpurple"
> +url="https://bitbucket.org/EionRobb/purple-hangouts"
> +arch="all"
> +license="GPL3"
> +makedepends="pidgin-dev protobuf-c-dev json-glib-dev"
> +source="$_pkgname-$pkgver.tar.bz2::https://bitbucket.org/EionRobb/$_pkgname/get/default.tar.bz2"
> +builddir=$(echo "$srcdir/"EionRobb-$_pkgname-*)
> +
> +build() {
> + cd "$builddir"
> + make || return 1
> +}

We don't need any more to use "|| return 1". Please see
http://lists.alpinelinux.org/alpine-devel/5608.html

> +
> +package() {
> + cd "$builddir"
> + make DESTDIR="$pkgdir" install || return 1
> +}
> +

Same here.


Thanks!

|_eo







---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Mar 23 2017 - 11:42:42 UTC