Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/msmtp: move locale specific data to lang subpackage, add config examples to doc subpackage

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Mon, 30 Nov 2015 09:57:45 +0100

On Wed, 18 Nov 2015 12:35:03 +0200
Valery Kartel <valery.kartel_at_gmail.com> wrote:

> ---
> main/msmtp/APKBUILD | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)


there are no -lang specific files in package. You probably have
gettext-dev installed in your build environment and the configure
script picked it up, unintentinally.

-nc

> diff --git a/main/msmtp/APKBUILD b/main/msmtp/APKBUILD
> index efa33d7..70f4c0a 100644
> --- a/main/msmtp/APKBUILD
> +++ b/main/msmtp/APKBUILD
> _at_@ -2,7 +2,7 @@
> # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
> pkgname=msmtp
> pkgver=1.6.2
> -pkgrel=1
> +pkgrel=2
> pkgdesc="SMTP client with a sendmail compatible interface"
> url="http://msmtp.sourceforge.net/"
> arch="all"
> _at_@ -10,7 +10,7 @@ license="GPLv3+"
> depends=
> makedepends="openssl-dev"
> install=
> -subpackages="$pkgname-doc $pkgname-vim:vim"
> +subpackages="$pkgname-doc $pkgname-lang $pkgname-vim:vim"
> source="http://downloads.sourceforge.net/project/msmtp/msmtp/$pkgver/msmtp-$pkgver.tar.xz"
>
> _builddir="$srcdir"/msmtp-$pkgver
> _at_@ -53,6 +53,14 @@ vim() {
> "$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim
> }
>
> +doc() {
> + default_doc;
> + for i in system user; do
> + install -Dm644 "$_builddir"/doc/msmtprc-$i.example \
> + "$subpkgdir"/usr/share/doc/$pkgname/msmtprc-$i.example
> + done
> +}
> +
> md5sums="3baca93c7e5f1aa9d36a2e5b38739ab9 msmtp-1.6.2.tar.xz"
> sha256sums="2f6ecd7cbfadf548fd55205bd24cb63b84bcbb1185efed917dd7800595a48789 msmtp-1.6.2.tar.xz"
> sha512sums="74fb87cbf561e59059f7e5587167fb969348077b569d64dbdbfaa39820e6dc02968d77f3bc182fa714a198fa9eeebd80184b44961e2370be5660c8626b483854 msmtp-1.6.2.tar.xz"



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Nov 30 2015 - 09:57:45 GMT