summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25ca5ad715104a78cde61162a6206b66f77186c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#Maintainer: Dylan Delgado <dylan1496 at live dot com>

pkgname=gpuowl
pkgver=7.5
pkgrel=1
pkgdesc="GPU Mersenne primality test"
arch=('x86_64')
url="https://github.com/preda/gpuowl"
license=('GPL3')
depends=('ocl-icd' 'gmp')
#makedepends=('gcc11')
source=("https://github.com/preda/gpuowl/archive/v${pkgver}.tar.gz")
       #'comp.patch')
sha256sums=('ae45a21e90dfc0a10eab44a8eeb9889d046320b81c88f3c4fb6181b4fee454ef')
	  # 'e21d857ecd8536f6a90731bf2783a0d683735f815b62137fa83e9abc830a6654')

#prepare() {
#cd ${srcdir}/${pkgname}-${pkgver}/
#patch --strip=1 < ../comp.patch
#}

build() {
cd ${srcdir}/${pkgname}-${pkgver}/
make
}

package () {
cd ${srcdir}/${pkgname}-${pkgver}/build-release
install -Dm755 gpuowl ${pkgdir}/usr/bin/gpuowl
}