community/erlang to 23.1-1

This commit is contained in:
Kevin Mihelich 2020-09-26 00:16:15 +00:00
parent 860fdf828f
commit 6fe83b124c

View file

@ -10,9 +10,9 @@
pkgbase=erlang
pkgname=(erlang erlang-unixodbc)
pkgver=23.0.4
pkgver=23.1
pkgrel=1
_docver=23.0
_docver=23.1
arch=(x86_64)
url='https://www.erlang.org'
license=(Apache)
@ -23,13 +23,14 @@ source=("git+https://github.com/erlang/otp.git#tag=OTP-$pkgver"
"$url/download/otp_doc_man_$_docver.tar.gz"
epmd.conf epmd.service epmd.socket)
sha256sums=('SKIP'
'c0804cb5bead8780de24cf9ba656efefd9307a457e0541cc513109523731bf6f'
'f49ecbb05b0895ec54fc66ea65b4e7cf593a4877748acc4d549f7613c92b94a9'
'78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2'
'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
'998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34')
prepare() {
cd otp && ./otp_build autoconf
cd otp
./otp_build autoconf
}
build() {
@ -45,7 +46,7 @@ build() {
package_erlang() {
pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
depends=(ncurses glu wxgtk openssl)
depends=(glu ncurses openssl wxgtk)
optdepends=('erlang-unixodbc: database support'
'java-environment: for Java support'
'lksctp-tools: for SCTP support')
@ -74,7 +75,7 @@ package_erlang() {
package_erlang-unixodbc() {
pkgdesc='Unixodbc support for Erlang'
depends=(unixodbc erlang-nox)
depends=(erlang-nox unixodbc)
install -d "$pkgdir/usr/lib/erlang/lib"
mv unixodbc/* "$pkgdir/usr/lib/erlang/lib/"