diff options
author | Franc[e]sco | 2020-12-08 23:32:08 +0100 |
---|---|---|
committer | Franc[e]sco | 2020-12-08 23:32:08 +0100 |
commit | 3ff26dec4b6618d3f816a380ac10e99aa36deeb4 (patch) | |
tree | 978283b58e91d755669363737cec0a78e217d733 | |
download | aur-3ff26dec4b6618d3f816a380ac10e99aa36deeb4.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 46 |
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bcdfe172c82e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = glxosd-aarch64-git + pkgdesc = (no nvidia proprietary dep, fix compile errors, update luajit to support aarch64) An OSD for OpenGL applications running under the X Window System. This allows you to monitor your framerate and hardware temperature in games on Linux! + pkgver = r209.dbb44b7 + pkgrel = 1 + url = https://github.com/Francesco149/GLXOSD + arch = aarch64 + license = GPL + makedepends = cmake + makedepends = gcc + makedepends = git + makedepends = boost + depends = mesa + depends = glu + depends = fontconfig + depends = freetype2 + depends = lm_sensors + depends = libxext + provides = glxosd + conflicts = glxosd + source = git://github.com/Francesco149/GLXOSD.git + md5sums = SKIP + +pkgname = glxosd-aarch64-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..07bdbf30c50a --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.xz +/pkg +/src +/GLXOSD +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..57681f40f4e2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Franc[e]sco <lolisamurai@tfwno.gf> +pkgname=glxosd-aarch64-git +_gitname=GLXOSD +pkgver=r219.a95ba45 +pkgrel=1 +pkgdesc="(no nvidia proprietary dep, fix compile errors, update luajit to support aarch64) An OSD for OpenGL applications running under the X Window System. This allows you to monitor your framerate and hardware temperature in games on Linux!" +arch=('aarch64') +url="https://github.com/Francesco149/GLXOSD" +license=('GPL') +provides=('glxosd') +conflicts=('glxosd') +depends=('mesa' 'glu' 'fontconfig' 'freetype2' 'lm_sensors' 'libxext') +makedepends=('cmake' 'gcc' 'git' 'boost') +source=('git://github.com/Francesco149/GLXOSD.git') +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/$_gitname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/$_gitname" + git submodule init + git submodule update --recursive +} + +build() { + cd "$srcdir/$_gitname" + cmake -DCMAKE_INSTALL_PREFIX=/usr -G "Unix Makefiles" + make all +} + +package() { + cd "$srcdir/$_gitname" + make DESTDIR="$pkgdir/" install + + if [ -d "$pkgdir/usr/lib64" ]; then + mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib" + fi + + sed -i 's+/usr//lib/x86_64-linux-gnu//glxosd/+/usr/lib/glxosd+g' \ + "$pkgdir/usr/bin/glxosd" + sed -i 's+/usr//lib/i386-linux-gnu//glxosd+/usr/lib/glxosd+g' \ + "$pkgdir/usr/bin/glxosd" +} |