Late last night, I put together an update to intel-opencl-sdk,
updating it from the 2017 edition to 2020. This was by far the
most difficult PKGBUILD I've ever done, and I suspect it is less
than optimal in one or more ways.
If anyone feels competent to take a look at the packaging or
(more importantly IMHO) the installed result, please do so.
https://aur.archlinux.org/packages/intel-opencl-sdk/
I intend to get to intel-opencl-runtime, helpfully flagged as
out-of-date last week, today or tomorrow.
Hack on!
--
nick black -=- https://www.nick-black.com
to make an apple pie from scratch,
you need first invent a universe.
Hi, I couldn't find the official Old School RuneScape launcher in the
AUR, so I decided to package it, using the official mac client as
source.
I have written a simple sh script to launch the included jar file
(with options extracted from Info.plist file). I'm also extracting
the icons from mac icns
The pkgver I also got from the Info.plist file, I don't know if it's
possible to extract programmatically.
I couldn't find the official license for this anywhere, except a
generic terms and conditions page of Jagex, which is in HTML format, I
don't know if I should scrape it as text and include in package.
# Maintainer: Nikoloz Shvelidze <captain(a)pirrate.me>
pkgname=osrs-launcher
pkgver=1.2
pkgrel=1
epoch=
pkgdesc="Official OldSchool RuneScape launcher"
arch=(any)
url="https://oldschool.runescape.com/"
license=('unknown')
groups=()
depends=(java-runtime bash)
makedepends=(p7zip libicns)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://www.runescape.com/l=1/downloads/OldSchool.dmg"
"osrs-launcher" "osrs-launcher.desktop")
noextract=()
md5sums=(af345cb11c7e392c15e4d2681d9de17f SKIP SKIP)
validpgpkeys=()
prepare() {
cd "$srcdir"
7z e "OldSchool.dmg" -o"$pkgname-$pkgver" -aoa "Old School
RuneScape/Old School
RuneScape.app/Contents/Java/jagexappletviewer.jar"
7z e "OldSchool.dmg" -o"$pkgname-$pkgver" -aoa "Old School
RuneScape/Old School RuneScape.app/Contents/Resources/OSRS.icns"
cd "$pkgname-$pkgver"
icns2png -x "OSRS.icns"
}
package() {
mkdir -p "$pkgdir/usr/share/osrs-launcher"
mkdir -p "$pkgdir/usr/share/pixmaps"
mkdir -p "$pkgdir/usr/share/applications"
mkdir -p "$pkgdir/usr/bin"
install -Dm644 "$pkgname-$pkgver/OSRS_512x512x32.png"
"$pkgdir/usr/share/pixmaps/osrs-launcher.png"
install -Dm644 "$pkgname-$pkgver/jagexappletviewer.jar"
"$pkgdir/usr/share/osrs-launcher/jagexappletviewer.jar"
install -Dm755 "osrs-launcher" "$pkgdir/usr/bin/osrs-launcher"
install -Dm644 "osrs-launcher.desktop"
"$pkgdir/usr/share/applications/osrs-launcher.desktop"
}