[arch-commits] Commit in erlang-nox/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Dec 6 22:06:52 UTC 2014


    Date: Saturday, December 6, 2014 @ 23:06:52
  Author: arodseth
Revision: 123561

security upgrade to 17.3.4 (ssl-related)

Modified:
  erlang-nox/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-06 22:01:47 UTC (rev 123560)
+++ PKGBUILD	2014-12-06 22:06:52 UTC (rev 123561)
@@ -7,7 +7,7 @@
 # Contributor: Ricardo Catalinas Jiménez <jimenezrick at gmail.com>
 
 pkgname=erlang-nox
-pkgver=17.3
+pkgver=17.3.4
 pkgrel=1
 pkgdesc='General-purpose concurrent functional programming language developed by Ericsson (headless version)'
 arch=('x86_64' 'i686')
@@ -20,32 +20,34 @@
             'java-environment: for Java support'
             'lksctp-tools: for SCTP support')
 options=('staticlibs')
-source=("http://www.erlang.org/download/otp_src_$pkgver.tar.gz"
-        "http://www.erlang.org/download/otp_doc_man_$pkgver.tar.gz"
+source=("git://github.com/erlang/otp.git#tag=OTP-$pkgver"
+        "http://www.erlang.org/download/otp_doc_man_${pkgver%.*}.tar.gz"
         'epmd.service'
         'epmd.socket'
         'epmd.conf')
-sha256sums=('d4be03eb346016f4ca95d53eb9437ffaa6106762f153620dd98cd7f7733b76e4'
+sha256sums=('SKIP'
             '3fabdac0b0594432fdd8186fa2c74ff49a629a9bcc4174e3bd605a3d4002dab7'
             'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
             '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34'
             '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2')
 
+prepare() {
+  cd otp
+  ./otp_build setup
+}
+
 build() {
-  cd "otp_src_$pkgver"
-
+  cd otp
   ./configure --prefix=/usr --enable-smp-support --with-odbc
   make
 }
 
 package() {
-  cd "otp_src_$pkgver"
+  make -C otp DESTDIR="$pkgdir" install
 
-  make DESTDIR="$pkgdir" install
-
   # Documentation
   install -d "$pkgdir/usr/share/doc/erlang"
-  install -m0644 "$srcdir/otp_src_$pkgver/README.md" \
+  install -m0644 "$srcdir/otp/README.md" \
     "$srcdir"/{README,COPYRIGHT} \
     "$pkgdir/usr/share/doc/erlang"
 
@@ -54,7 +56,7 @@
   cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang"
 
   # License
-  install -Dm0644 "$srcdir/otp_src_$pkgver/EPLICENCE" \
+  install -Dm0644 "$srcdir/otp/EPLICENCE" \
     "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE"
 
   # Remove files that are packaged as erlang-unixodbc



More information about the arch-commits mailing list