summaryrefslogtreecommitdiff
path: root/community/erlang-cl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-01 00:05:33 -0800
committerroot <root@rshg054.dnsready.net>2013-03-01 00:05:33 -0800
commit5ae40a63ab4c6838234db5a9da1e99d8bc27875d (patch)
treedea7d338ac603743f5a323dc8f82b76bdbf5ab2e /community/erlang-cl/PKGBUILD
parentb56d5949c9b0c3b40a942cd83f71e4420473435b (diff)
Fri Mar 1 00:05:33 PST 2013
Diffstat (limited to 'community/erlang-cl/PKGBUILD')
-rw-r--r--community/erlang-cl/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/erlang-cl/PKGBUILD b/community/erlang-cl/PKGBUILD
index ec9bcc128..bd40ff483 100644
--- a/community/erlang-cl/PKGBUILD
+++ b/community/erlang-cl/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=erlang-cl
pkgver=1.0
-pkgrel=2
+pkgrel=3
arch=('x86_64' 'i686')
pkgdesc='OpenCL binding for Erlang'
url="http://github.com/tonyrog/cl"
@@ -13,21 +13,21 @@ depends=('erlang' 'libcl' 'bash')
replaces=('cl')
makedepends=('opencl-headers')
source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/tonyrog/cl/tar.gz/master")
-sha256sums=('e2cb407489ebe1d8e8f287283eb5c715d559ce95255f6bbcac137cb84c500be6')
-_dirname='cl-master'
+sha256sums=('76991eba2418ced8e28f4237878e1ec8bb231193c614dab63623ff518b2dc56c')
if [ "$CARCH" = "x86_64" ]
then
_wordsize=64
else
_wordsize=32
fi
+_dirname='cl-master'
build() {
cd "$srcdir/$_dirname/c_src"
make configure
- ./configure --with-wordsize=$_wordsize --prefix=/usr
- make all$_wordsize
+ ./configure --with-wordsize="$_wordsize" --prefix=/usr
+ make "all$_wordsize"
rm config.*
}
@@ -36,6 +36,7 @@ package() {
mkdir -p "$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:set ts=2 sw=2 et: