[arch-commits] Commit in erlang-cl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Sun Jan 30 11:01:33 UTC 2022
Date: Sunday, January 30, 2022 @ 11:01:33
Author: arodseth
Revision: 1120215
archrelease: copy trunk to community-x86_64
Added:
erlang-cl/repos/community-x86_64/PKGBUILD
(from rev 1120214, erlang-cl/trunk/PKGBUILD)
Deleted:
erlang-cl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 55 ++++++++++++++++++++++++++++---------------------------
1 file changed, 28 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-30 11:01:25 UTC (rev 1120214)
+++ PKGBUILD 2022-01-30 11:01:33 UTC (rev 1120215)
@@ -1,27 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: kappa <kappacurve at gmail.com>
-
-pkgname=erlang-cl
-pkgver=1.2.4
-pkgrel=3
-arch=(x86_64)
-pkgdesc='OpenCL binding for Erlang'
-url='https://github.com/tonyrog/cl'
-license=(MIT)
-replaces=(cl)
-depends=(erlang opencl-icd-loader)
-makedepends=(git opencl-headers rebar)
-source=("git+$url#commit=f0a5631fdcf4e1c56e6bf1568c6c2c8fff0d66df") # tag: cl-1.2.4
-b2sums=(SKIP)
-
-build() {
- cd cl
- rebar compile
-}
-
-package() {
- cd cl
- install -d "$pkgdir/usr/lib/erlang/lib/cl-$pkgver"
- cp -r * "$pkgdir/usr/lib/erlang/lib/cl-$pkgver/"
- install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: erlang-cl/repos/community-x86_64/PKGBUILD (from rev 1120214, erlang-cl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-30 11:01:33 UTC (rev 1120215)
@@ -0,0 +1,28 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: kappa <kappacurve at gmail.com>
+
+pkgname=erlang-cl
+pkgver=1.2.4
+pkgrel=4
+arch=(x86_64)
+pkgdesc='OpenCL binding for Erlang'
+url='https://github.com/tonyrog/cl'
+license=(MIT)
+replaces=(cl)
+depends=(erlang opencl-icd-loader)
+makedepends=(git opencl-headers rebar)
+source=("git+$url#commit=f0a5631fdcf4e1c56e6bf1568c6c2c8fff0d66df") # tag: cl-1.2.4
+b2sums=(SKIP)
+
+build() {
+ cd cl
+ CFLAGS+=' -D_FORTIFY_SOURCE=2 -ffat-lto-objects -fPIE'
+ rebar compile
+}
+
+package() {
+ cd cl
+ install -d "$pkgdir/usr/lib/erlang/lib/cl-$pkgver"
+ cp -r * "$pkgdir/usr/lib/erlang/lib/cl-$pkgver/"
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list