Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] makeself: common build, patch instead of sed
@ 2019-06-13 13:24 voidlinux-github
  2019-06-13 15:06 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-13 13:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

There is a new 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: 2551 bytes --]

From 6e9fcd7aee7be6af0f27603df0d9635224cee5af 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 21 +++++----------------
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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..20e4237b61b 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,34 +1,23 @@
 # Template file for 'makeself'
 pkgname=makeself
 version=2.4.0
-revision=2
+revision=3
+wrksrc="${pkgname}-release-${version}"
 archs=noarch
-create_wrksrc=yes
 makedepends="tar gzip bzip2"
 depends="${makedepends}"
 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/$pkgname/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}
 	done
 	install -m644 *.1 ${DESTDIR}/usr/share/man/man1
 }
+

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed 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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-13 15:06 UTC (permalink / raw)
  To: ml

[-- 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: 2551 bytes --]

From 6c4af8e82158c9ea5e062a48decde8d5f9710af0 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 21 +++++----------------
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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..eace65a192d 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,34 +1,23 @@
 # Template file for 'makeself'
 pkgname=makeself
 version=2.4.0
-revision=2
+revision=3
 archs=noarch
-create_wrksrc=yes
+wrksrc="${pkgname}-release-${version}"
 makedepends="tar gzip bzip2"
 depends="${makedepends}"
 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/$pkgname/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}
 	done
 	install -m644 *.1 ${DESTDIR}/usr/share/man/man1
 }
+

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed voidlinux-github
@ 2019-06-13 15:06 ` voidlinux-github
  2019-06-13 15:06 ` voidlinux-github
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-13 15:06 UTC (permalink / raw)
  To: ml

[-- 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: 2551 bytes --]

From 6c4af8e82158c9ea5e062a48decde8d5f9710af0 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 21 +++++----------------
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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..eace65a192d 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,34 +1,23 @@
 # Template file for 'makeself'
 pkgname=makeself
 version=2.4.0
-revision=2
+revision=3
 archs=noarch
-create_wrksrc=yes
+wrksrc="${pkgname}-release-${version}"
 makedepends="tar gzip bzip2"
 depends="${makedepends}"
 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/$pkgname/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}
 	done
 	install -m644 *.1 ${DESTDIR}/usr/share/man/man1
 }
+

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed 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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-14 12:28 UTC (permalink / raw)
  To: ml

[-- 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 cae78882ac80dd34db28862513df3637c694381b 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 20 ++++----------------
 2 files changed, 15 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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..de8d991d833 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,31 +1,19 @@
 # Template file for 'makeself'
 pkgname=makeself
 version=2.4.0
-revision=2
+revision=3
 archs=noarch
-create_wrksrc=yes
+wrksrc="${pkgname}-release-${version}"
 makedepends="tar gzip bzip2"
 depends="${makedepends}"
 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/$pkgname/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}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed voidlinux-github
                   ` (2 preceding siblings ...)
  2019-06-14 12:28 ` voidlinux-github
@ 2019-06-14 12:28 ` voidlinux-github
  2019-06-14 19:01 ` voidlinux-github
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-14 12:28 UTC (permalink / raw)
  To: ml

[-- 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 cae78882ac80dd34db28862513df3637c694381b 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 20 ++++----------------
 2 files changed, 15 insertions(+), 16 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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..de8d991d833 100644
--- a/srcpkgs/makeself/template
+++ b/srcpkgs/makeself/template
@@ -1,31 +1,19 @@
 # Template file for 'makeself'
 pkgname=makeself
 version=2.4.0
-revision=2
+revision=3
 archs=noarch
-create_wrksrc=yes
+wrksrc="${pkgname}-release-${version}"
 makedepends="tar gzip bzip2"
 depends="${makedepends}"
 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/$pkgname/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}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed voidlinux-github
                   ` (3 preceding siblings ...)
  2019-06-14 12:28 ` voidlinux-github
@ 2019-06-14 19:01 ` voidlinux-github
  2019-06-14 19:01 ` voidlinux-github
  2019-06-14 20:40 ` [PR PATCH] [Merged]: " voidlinux-github
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-14 19:01 UTC (permalink / raw)
  To: ml

[-- 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 22 ++++------------------
 2 files changed, 15 insertions(+), 18 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed voidlinux-github
                   ` (4 preceding siblings ...)
  2019-06-14 19:01 ` voidlinux-github
@ 2019-06-14 19:01 ` voidlinux-github
  2019-06-14 20:40 ` [PR PATCH] [Merged]: " voidlinux-github
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-14 19:01 UTC (permalink / raw)
  To: ml

[-- 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

---
 srcpkgs/makeself/patches/header.patch | 11 +++++++++++
 srcpkgs/makeself/template             | 22 ++++------------------
 2 files changed, 15 insertions(+), 18 deletions(-)
 create mode 100644 srcpkgs/makeself/patches/header.patch

diff --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}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Merged]: makeself: common build, patch instead of sed
  2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed voidlinux-github
                   ` (5 preceding siblings ...)
  2019-06-14 19:01 ` voidlinux-github
@ 2019-06-14 20:40 ` voidlinux-github
  6 siblings, 0 replies; 8+ messages in thread
From: voidlinux-github @ 2019-06-14 20:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

There's a merged pull request on the void-packages repository

makeself: common build, patch instead of sed
https://github.com/void-linux/void-packages/pull/12440
Description: 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-14 20:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 13:24 [PR PATCH] makeself: common build, patch instead of sed 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
2019-06-14 20:40 ` [PR PATCH] [Merged]: " voidlinux-github

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).