Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / elixir


Commits:
fd51d52d by Robin Candau at 2024-01-31T12:23:31+01:00
upgpkg: 1.16.1-1: New upstream release + Switch license to SPDX identifier + 
Remove mention of the custom EPL license + Little PKGBUILD rework
Elixir is not licensed under the EPL license anymore: 
https://github.com/elixir-lang/elixir/commit/11e20cee1471d3c81d75c9d7a1cd384c55fa4ea5#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L65

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,13 @@
 pkgbase = elixir
        pkgdesc = a functional meta-programming aware language built on top of 
the Erlang VM
-       pkgver = 1.16.0
+       pkgver = 1.16.1
        pkgrel = 1
        url = https://elixir-lang.org
        arch = any
-       license = Apache
-       license = custom:EPL
+       license = Apache-2.0
        checkdepends = git
        depends = erlang-nox
-       source = 
elixir-1.16.0.tar.gz::https://github.com/elixir-lang/elixir/archive/v1.16.0.tar.gz
-       sha256sums = 
d7fe641e3c85c9774232618d22c880c86c2f31e3508c344ce75d134cd40aea18
+       source = 
elixir-1.16.1.tar.gz::https://github.com/elixir-lang/elixir/archive/v1.16.1.tar.gz
+       sha256sums = 
b9e845458e03d62a24325b8424069e401cc7468e21143ecbca5514724d7cbaa0
 
 pkgname = elixir


=====================================
PKGBUILD
=====================================
@@ -4,33 +4,31 @@
 # Contributor: Gilbert Kennen <gilbert firewatcher org>
 
 pkgname=elixir
-pkgver=1.16.0
+pkgver=1.16.1
 pkgrel=1
 pkgdesc="a functional meta-programming aware language built on top of the 
Erlang VM"
 url="https://elixir-lang.org";
-license=('Apache' 'custom:EPL')
+license=('Apache-2.0')
 arch=('any')
 depends=('erlang-nox')
 checkdepends=('git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz";)
-sha256sums=('d7fe641e3c85c9774232618d22c880c86c2f31e3508c344ce75d134cd40aea18')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/elixir-lang/elixir/archive/v${pkgver}.tar.gz";)
+sha256sums=('b9e845458e03d62a24325b8424069e401cc7468e21143ecbca5514724d7cbaa0')
 
 build() {
-  cd elixir-"$pkgver"
-  make
+       cd "${pkgname}-${pkgver}"
+       make
 }
 
 check() {
-  cd elixir-"$pkgver"
-  ERL_EPMD_PORT=5369 make test
+       cd "${pkgname}-${pkgver}"
+       ERL_EPMD_PORT=5369 make test
 
-  # The elixir test suite starts up epmd and then doesn't kill it again 
afterwards.
-  epmd -port 5369 -kill
+       # The elixir test suite starts up epmd and then doesn't kill it again 
afterwards.
+       epmd -port 5369 -kill
 }
 
 package() {
-  cd elixir-"$pkgver"
-  mkdir -p "$pkgdir"/usr/share/licenses/"$pkgname"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"
-  make DESTDIR="$pkgdir" PREFIX=/usr install
+       cd "${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" PREFIX=/usr install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/elixir/-/commit/fd51d52d7f2b795bc212a71c048908131a042616

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/elixir/-/commit/fd51d52d7f2b795bc212a71c048908131a042616
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to