summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 316cb528872a84ec108d35e95ea8a05742649c94 (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
31
32
33
34
35
36
37
# Maintainer: meriken <meriken.ygch.net@gmail.com>

pkgname=merikens-tripcode-engine-v3-git
_gitname=merikens-tripcode-engine-v3
pkgver=110.g2d9cd3b
pkgrel=1
pkgdesc='OpenCL- and CUDA-compatible custom tripcode generator'
arch=('i686' 'x86_64')
url='https://github.com/meriken/merikens-tripcode-engine-v3'
license=('GPLv3')
optdepends=(
    'cuda: Support for NVIDIA GPUs'
)
makedepends=('p7zip' 'cmake' 'opencl-headers')
makedepends=('ocl-icd')
source=("git+$url")
md5sums=('SKIP')


pkgver() {
    cd "$srcdir/$_gitname"
    echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}


build() {
    cd "$srcdir/$_gitname"
    ./BuildAll.sh
}


package() {
    cd "$srcdir/$_gitname/CMakeBuild"
    make DESTDIR="$pkgdir" install
    cd "../CLRadeonExtender/CLRX-mirror-master/build"
    make DESTDIR="$pkgdir" install
}