X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 1C404DC5A05 for ; Sat, 9 May 2015 20:06:44 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C0600DC04B8 for ; Sat, 9 May 2015 20:06:38 +0000 (UTC) Received: from [81.4.121.188] (port=50066 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1YrB18-003hUX-FF; Sat, 09 May 2015 21:06:34 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH 4/4] testing/udevil: move post-install message Date: Sat, 9 May 2015 20:06:26 +0000 Message-Id: <1431201986-56614-4-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.4.0 In-Reply-To: <1431201986-56614-1-git-send-email-developer@it-offshore.co.uk> References: <1431201986-56614-1-git-send-email-developer@it-offshore.co.uk> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: post-install message moved to $pkgname/usr/share/doc/README.alpine --- testing/udevil/APKBUILD | 31 ++++++++++++++++++++----------- testing/udevil/udevil.apk-post-msg | 11 ----------- 2 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 testing/udevil/udevil.apk-post-msg diff --git a/testing/udevil/APKBUILD b/testing/udevil/APKBUILD index 95257a2..2665db0 100644 --- a/testing/udevil/APKBUILD +++ b/testing/udevil/APKBUILD @@ -9,11 +9,9 @@ arch="all" license="GPL3+" makedepends="$depends_dev glib-dev udev-dev intltool" install="$pkgname.pre-install" -subpackages="$pkgname-lang" +subpackages="$pkgname-lang $pkgname-doc" pkggroups="plugdev" -source="$pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/$pkgname/archive/$pkgver.tar.gz - $pkgname.apk-post-msg - " +source="$pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/$pkgname/archive/$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -40,13 +38,24 @@ package() { chown root:plugdev "$pkgdir"/usr/bin/udevil || return 1 chmod u+s,go-s,o-x "$pkgdir"/usr/bin/udevil # remove SUID bit mkdir -p "$pkgdir/usr/share/apk-tools/$pkgname" - install -m644 "$srcdir/$pkgname.apk-post-msg" "$pkgdir/usr/share/apk-tools/$pkgname/post-install-message" || return 1 # chmod ugo-s,ugo+x "$pkgdir"/usr/bin/udevil #remove SUID bit completely + # post-install message + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + cat > $pkgdir/usr/share/doc/$pkgname/README.alpine <