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

Alexander Rødseth arodseth at archlinux.org
Fri Sep 28 11:12:17 UTC 2018


    Date: Friday, September 28, 2018 @ 11:12:17
  Author: arodseth
Revision: 387168

upgpkg: erlang-sdl 1.3.1-3

Modified:
  erlang-sdl/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-28 11:08:01 UTC (rev 387167)
+++ PKGBUILD	2018-09-28 11:12:17 UTC (rev 387168)
@@ -1,29 +1,30 @@
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: kappa <kappacurve at gmail.com>
 
 pkgname=erlang-sdl
 pkgver=1.3.1
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 pkgdesc='SDL and OpenGL bindings for Erlang'
 url='http://github.com/dgud/esdl/'
 license=('custom')
-depends=('erlang' 'sdl' 'glu' 'libgl')
-makedepends=('mesa-libgl' 'rebar' 'git')
-# tag=esdl-1.3.1 fails mysteriously. Using commit instead.
-source=("esdl::git://github.com/dgud/esdl.git#commit=dbd8ce9228aa36828091df2e8706c364094a3e22")
+depends=('erlang' 'glu' 'libgl' 'sdl')
+makedepends=('git' 'mesa-libgl' 'rebar')
+#tag=esdl-1.3.1 fails
+source=("esdl::git+https://github.com/dgud/esdl.git#commit=dbd8ce9228aa36828091df2e8706c364094a3e22")
 md5sums=('SKIP')
 
+prepare() {
+  find esdl -type f -print0 | xargs -0 chmod 644
+}
+
 build() {
   cd esdl
-
-  find -type f -print0 | xargs -0 chmod 644
   CFLAGS="$CFLAGS -Wno-deprecated-declarations" rebar compile
 }
 
 package() {
   cd esdl
-
   install -d "$pkgdir/usr/lib/erlang/lib/esdl-$pkgver"
   cp -ruv c_src doc ebin include priv src \
     "$pkgdir/usr/lib/erlang/lib/esdl-$pkgver/"
@@ -30,4 +31,4 @@
   install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list