From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
Date: Fri, 14 Jun 2019 21:01:46 +0200 [thread overview]
Message-ID: <20190614190146.IAxEYXl3xhuWiZFm79Hmdmo1pHIwRh7mKAI3L0t4qp4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12440@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
There is an updated pull request by innerspacepilot against master on the void-packages repository
https://github.com/innerspacepilot/void-packages makeself
https://github.com/void-linux/void-packages/pull/12440
makeself: common build, patch instead of sed
A patch file from https://github.com/void-linux/void-packages/pull/12440.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-makeself-12440.patch --]
[-- Type: application/text/x-diff, Size: 2488 bytes --]
From 31634fb1e1b377e65173c2d257e0785415fb603d Mon Sep 17 00:00:00 2001
From: innerspacepilot <innerspacepilot@gmx.com>
Date: Thu, 13 Jun 2019 08:05:12 +0000
Subject: [PATCH] makeself: common build, patch instead of sed
---
| 11 +++++++++++
srcpkgs/makeself/template | 22 ++++------------------
2 files changed, 15 insertions(+), 18 deletions(-)
create mode 100644 srcpkgs/makeself/patches/header.patch
--git a/srcpkgs/makeself/patches/header.patch b/srcpkgs/makeself/patches/header.patch
new file mode 100644
index 00000000000..75c8cc8cd4e
--- /dev/null
+++ b/srcpkgs/makeself/patches/header.patch
@@ -0,0 +1,11 @@
+--- makeself.sh.orig 2019-06-13 07:22:52.406415309 +0000
++++ makeself.sh 2019-06-13 07:23:10.116346635 +0000
+@@ -185,7 +185,7 @@
+ TAR_EXTRA=""
+ GPG_EXTRA=""
+ DU_ARGS=-ks
+-HEADER=`dirname "$0"`/makeself-header.sh
++HEADER=`dirname "$0"`/makeself-header
+ TARGETDIR=""
+ NOOVERWRITE=n
+ DATE=`LC_ALL=C date`
diff --git a/srcpkgs/makeself/template b/srcpkgs/makeself/template
index 99494b26321..a32108fc209 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,31 +1,17 @@
# Template file for 'makeself'
pkgname=makeself
version=2.4.0
-revision=2
+revision=3
archs=noarch
-create_wrksrc=yes
-makedepends="tar gzip bzip2"
-depends="${makedepends}"
+wrksrc="makeself-release-${version}"
short_desc="Make self-extractable archives on Unix"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://makeself.io"
-distfiles="https://github.com/megastep/$pkgname/releases/download/release-$version/$pkgname-$version.run"
-checksum=ca66a6113ce98152b85c8d847949f8c90ab9ba798e106bfc225d4ed3c2e2e3e2
-skip_extraction="${pkgname}-${version}.run"
-
-do_build() {
- cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.run .
- chmod +x ${pkgname}-${version}.run
- ./${pkgname}-${version}.run --target ${pkgname}-${version}
-}
+distfiles="https://github.com/megastep/makeself/archive/release-$version.tar.gz"
+checksum=76a8c3f3fad1b55c39ba2904a19e74962151f9481df03091d4e54938bdd13f50
do_install() {
- cd ${wrksrc}/${pkgname}-${version}
-
- # rename makeself-header.sh to makeself-header inside makeself.sh because it will be renamed later
- sed -i 's/^HEADER=\`dirname "$0"\`\/makeself-header.sh$/HEADER=\`dirname "$0"\`\/makeself-header/' makeself.sh
-
vmkdir usr/share/man/man1
for f in makeself makeself-header; do
vbin ${f}.sh ${f}
next prev parent reply other threads:[~2019-06-14 19:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 13:24 [PR PATCH] " voidlinux-github
2019-06-13 15:06 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-13 15:06 ` voidlinux-github
2019-06-14 12:28 ` voidlinux-github
2019-06-14 12:28 ` voidlinux-github
2019-06-14 19:01 ` voidlinux-github
2019-06-14 19:01 ` voidlinux-github [this message]
2019-06-14 20:40 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190614190146.IAxEYXl3xhuWiZFm79Hmdmo1pHIwRh7mKAI3L0t4qp4@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).