Package Details: amdapp-aparapi 1.0.0-1

Git Clone URL: https://aur.archlinux.org/amdapp-aparapi.git (read-only, click to copy)
Package Base: amdapp-aparapi
Description: AMD's API for data parallel Java. Uses OpenCL
Upstream URL: https://github.com/aparapi/aparapi/
Licenses: Other Open Source
Groups: amdapp
Provides: aparapi
Submitter: Vi0L0
Maintainer: Vi0L0 (ILMostro7)
Last Packager: Vi0L0
Votes: 17
Popularity: 0.000258
First Submitted: 2013-02-11 21:01 (UTC)
Last Updated: 2018-02-18 17:32 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

Vi0L0 commented on 2018-02-18 17:38 (UTC)

@ILMostro7: thanks for the head-up. It's hard to call my maintenance a maintenance. I was even thinking that this project is dead. I updated it to latest release, which is pretty old. I can give you this package if you want but maybe it would be better if you would create additional package amdapp-aparapi-git which will get code from master branch?

ILMostro7 commented on 2018-02-09 20:57 (UTC) (edited on 2018-02-09 21:00 (UTC) by ILMostro7)

PKGBUILD

 # Maintainer: Vi0L0 <vi0l093@gmail.com>

pkgname=amdapp-aparapi
pkgver=20130123
_apaver=2013_01_23
pkgrel=1
pkgdesc="AMD's API for data parallel Java. Uses OpenCL"
url="<https://code.google.com/archive/p/aparapi/>"
arch=('i686' 'x86_64')
license=('Other Open Source')
groups=('amdapp')
depends=('java-environment')
makedepends=('unzip')
optdepends=('apache-ant')
provides=('aparapi')
install='aparapi.install'

source=( 'aparapi.sh')
md5sums=('994e47a2d20c1436dd4bb9586ef1b3f7')

if [ "$CARCH" = "i686" ]; then
  source+=(<https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/aparapi/Aparapi_>${_apaver}_linux_x86.zip)
  md5sums+=('d7cc1af45772a98ca053dd6930980e88')
else
  source+=(<https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/aparapi/Aparapi_>${_apaver}_linux_x86_64.zip)
  md5sums+=('068812301aa8197c5629ea15665a96ab')
fi

package() {
    mkdir -p "$pkgdir"/{opt/AMDAPP/aparapi,usr/share/licenses/aparapi,etc/profile.d}
    cd ${srcdir}
    install -m755 aparapi.sh "$pkgdir/etc/profile.d/"
    cd ${srcdir}
    mv LICENSE.TXT "$pkgdir/usr/share/licenses/aparapi/"
    mv api samples aparapi.jar "$pkgdir/opt/AMDAPP/aparapi"

      if [ "${CARCH}" = "i686" ]; then
    install -m755 libaparapi_x86.so "$pkgdir/opt/AMDAPP/aparapi"
      elif [ "${CARCH}" = "x86_64" ]; then
    install -m755 libaparapi_x86_64.so "$pkgdir/opt/AMDAPP/aparapi"
#   install -m755 libaparapi_x86_64.dylib "$pkgdir/opt/AMDAPP/aparapi"
      fi

    find $pkgdir/opt/AMDAPP/aparapi/samples -name \*.sh -exec chmod 755 {} \;
}




.SRCINFO

 pkgbase = amdapp-aparapi
    pkgdesc = AMD's API for data parallel Java. Uses OpenCL
    pkgver = 20130123
    pkgrel = 1
    url = <https://code.google.com/archive/p/aparapi/>
    install = aparapi.install
    arch = i686
    arch = x86_64
    groups = amdapp
    license = Other Open Source
    makedepends = unzip
    depends = java-environment
    optdepends = apache-ant
    provides = aparapi
    source = aparapi.sh
    source = <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/aparapi/Aparapi_2013_01_23_linux_x86_64.zip>
    md5sums = 994e47a2d20c1436dd4bb9586ef1b3f7
    md5sums = 068812301aa8197c5629ea15665a96ab

pkgname = amdapp-aparapi

ILMostro7 commented on 2018-02-09 19:27 (UTC)

I'm not sure if this is still maintained, but the "upstream url" has changed since the death of googlecode.com. It can be either updated to newer versions from the github location or, using the same PKGBUILD and AUR source info/scripts, the source url should be updated to the archived source code downloads at https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/aparapi/Aparapi_2013_01_23_linux_x86_64.zip