[arch-commits] Commit in erlang-cl/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed May 12 12:12:23 UTC 2021
Date: Wednesday, May 12, 2021 @ 12:12:22
Author: arodseth
Revision: 931545
rebuild
Modified:
erlang-cl/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-12 12:01:38 UTC (rev 931544)
+++ PKGBUILD 2021-05-12 12:12:22 UTC (rev 931545)
@@ -3,29 +3,25 @@
pkgname=erlang-cl
pkgver=1.2.4
-pkgrel=2
-arch=('x86_64')
+pkgrel=3
+arch=(x86_64)
pkgdesc='OpenCL binding for Erlang'
url='https://github.com/tonyrog/cl'
-license=('MIT')
-depends=('erlang' 'opencl-icd-loader')
-replaces=('cl')
-makedepends=('git' 'opencl-headers' 'rebar')
-source=("$pkgname::git+https://github.com/tonyrog/cl.git#tag=cl-$pkgver")
-md5sums=('SKIP')
+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 "$pkgname"
-
+ cd cl
rebar compile
}
package() {
- cd "$pkgname"
-
+ cd cl
install -d "$pkgdir/usr/lib/erlang/lib/cl-$pkgver"
- cp -r * "$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"
}
-
-# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list