* [PR PATCH] New package: elm-0.19.1
@ 2020-04-18 3:42 terrybrashaw
2020-04-18 5:02 ` agausmann
2020-04-18 6:51 ` agausmann
0 siblings, 2 replies; 4+ messages in thread
From: terrybrashaw @ 2020-04-18 3:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
There is a new pull request by terrybrashaw against master on the void-packages repository
https://github.com/terrybrashaw/void-packages master
https://github.com/void-linux/void-packages/pull/21102
New package: elm-0.19.1
A patch file from https://github.com/void-linux/void-packages/pull/21102.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-21102.patch --]
[-- Type: text/x-diff, Size: 1182 bytes --]
From 4a16717c5d0afc51e1c79134871bc8772df04f0f Mon Sep 17 00:00:00 2001
From: Terry Brashaw <terrybrashaw@gmail.com>
Date: Fri, 17 Apr 2020 23:25:06 -0400
Subject: [PATCH] New package: elm-0.19.1
---
srcpkgs/elm/template | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 srcpkgs/elm/template
diff --git a/srcpkgs/elm/template b/srcpkgs/elm/template
new file mode 100644
index 00000000000..84708e438e4
--- /dev/null
+++ b/srcpkgs/elm/template
@@ -0,0 +1,22 @@
+# Template file for 'elm'
+pkgname=elm
+version=0.19.1
+revision=1
+archs="x86_64"
+create_wrksrc=true
+short_desc="Functional programming language that compiles to JavaScript"
+maintainer="Terry Brashaw <terrybrashaw@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://elm-lang.org/"
+distfiles="
+https://github.com/elm/compiler/releases/download/${version}/binary-for-linux-64-bit.gz>elm.gz
+https://github.com/elm/compiler/archive/${version}.tar.gz"
+checksum="
+e44af52bb27f725a973478e589d990a6428e115fe1bb14f03833134d6c0f155c
+aa161caca775cef1bbb04bcdeb4471d3aabcf87b6d9d9d5b0d62d3052e8250b1"
+
+do_install() {
+ cd ${wrksrc}
+ vbin elm
+ vlicense compiler-${version}/LICENSE
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New package: elm-0.19.1
2020-04-18 3:42 [PR PATCH] New package: elm-0.19.1 terrybrashaw
@ 2020-04-18 5:02 ` agausmann
2020-04-18 6:51 ` agausmann
1 sibling, 0 replies; 4+ messages in thread
From: agausmann @ 2020-04-18 5:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New comment by agausmann on void-packages repository
https://github.com/void-linux/void-packages/pull/21102#issuecomment-615561802
Comment:
Related: elm/compiler#1949
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New package: elm-0.19.1
2020-04-18 3:42 [PR PATCH] New package: elm-0.19.1 terrybrashaw
2020-04-18 5:02 ` agausmann
@ 2020-04-18 6:51 ` agausmann
1 sibling, 0 replies; 4+ messages in thread
From: agausmann @ 2020-04-18 6:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by agausmann on void-packages repository
https://github.com/void-linux/void-packages/pull/21102#issuecomment-615561802
Comment:
Related: elm/compiler#1949, [Linux installation instructions](https://github.com/elm/compiler/blob/master/installers/linux/README.md)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PR PATCH] New package: elm-0.19.1
@ 2021-05-08 21:30 kwshi
0 siblings, 0 replies; 4+ messages in thread
From: kwshi @ 2021-05-08 21:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]
There is a new pull request by kwshi against master on the void-packages repository
https://github.com/kwshi/void-packages elm
https://github.com/void-linux/void-packages/pull/30752
New package: elm-0.19.1
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/30752.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elm-30752.patch --]
[-- Type: text/x-diff, Size: 1692 bytes --]
From 82107d50b12d063aa2c19299e80ad6eb3f44397b Mon Sep 17 00:00:00 2001
From: Kye Shi <shi.kye@gmail.com>
Date: Sat, 8 May 2021 14:29:31 -0700
Subject: [PATCH] New package: elm-0.19.1
---
srcpkgs/elm/template | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 srcpkgs/elm/template
diff --git a/srcpkgs/elm/template b/srcpkgs/elm/template
new file mode 100644
index 000000000000..7a9ae3a51d65
--- /dev/null
+++ b/srcpkgs/elm/template
@@ -0,0 +1,32 @@
+# Template file for 'elm'
+pkgname=elm
+version=0.19.1
+revision=1
+wrksrc="compiler-${version}"
+hostmakedepends="cabal-install pkg-config"
+makedepends="zlib-devel ncurses-devel"
+short_desc="Delightful language for reliable web applications"
+maintainer="Kye Shi <shi.kye@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://elm-lang.org"
+distfiles="https://github.com/elm/compiler/archive/refs/tags/${version}.tar.gz"
+checksum="aa161caca775cef1bbb04bcdeb4471d3aabcf87b6d9d9d5b0d62d3052e8250b1"
+nopie_files="/usr/bin/elm"
+
+do_build() {
+ # `worker` contains code for an Elm website web server & is not needed for
+ # building the Elm compiler/CLI itself. In fact, if `worker` is present,
+ # `cabal new-build` appears to detect and build the `Main.hs` under `worker`
+ # instead of the one under `terminal` (the compiler executable, which is what
+ # we actually want), messing up the build. So we have to remove `worker`
+ # before building.
+ rm -rf 'worker'
+ HOME="$PWD" cabal new-update
+ HOME="$PWD" cabal new-build "${makejobs}"
+}
+
+do_install() {
+ # eval needed to expand glob
+ eval vbin "dist-newstyle/build"/*/*/"elm-${version}/x/elm/build/elm/elm"
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-08 21:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 3:42 [PR PATCH] New package: elm-0.19.1 terrybrashaw
2020-04-18 5:02 ` agausmann
2020-04-18 6:51 ` agausmann
2021-05-08 21:30 [PR PATCH] " kwshi
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).