diff options
author | jmcb | 2023-06-21 16:06:12 +0100 |
---|---|---|
committer | jmcb | 2023-06-21 16:06:12 +0100 |
commit | 06a6b350d3e4900fbbd91f0ec5fa1499f86133b5 (patch) | |
tree | d01e18a276c76fc75740c49649ea5f265955fe8d | |
download | aur-06a6b350d3e4900fbbd91f0ec5fa1499f86133b5.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 15 | ||||
-rw-r--r-- | PKGBUILD | 43 |
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..03a6b926fbc5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = oscilloscope-git + pkgdesc = Oscilloscope written in OF. + pkgver = 1.1.0 + pkgrel = 1 + url = https://github.com/kritzikratzi/Oscilloscope + arch = x86_64 + license = MIT + makedepends = git + makedepends = openframeworks + makedepends = gcc6 + source = oscilloscope::git+https://github.com/kritzikratzi/Oscilloscope.git + source = https://openframeworks.cc/versions/v0.10.1/of_v0.10.1_linux64gcc6_release.tar.gz + sha256sums = SKIP + sha256sums = 9cc5133028b84d5031dbd054719238095e46a5aed507f3b32265fa2906f37905 + +pkgname = oscilloscope-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..73966e0ea1b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +oscilloscope-git + +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7dbd0afbcbd7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: jmcb <joelsgp@protonmail.com> + +pkgname='oscilloscope-git' +pkgver=of0.9.r132.g30a1839 +pkgrel=1 +pkgdesc="Oscilloscope written in OF." +arch=('x86_64') +url="https://github.com/kritzikratzi/Oscilloscope" +license=('MIT') +depends=() +makedepends=('git' + 'openframeworks' + 'gcc6') +checkdepends=() +optdepends=() +provides=() +conflicts=() +source=("${pkgname}::git+https://github.com/kritzikratzi/Oscilloscope.git" + 'https://openframeworks.cc/versions/v0.10.1/of_v0.10.1_linux64gcc6_release.tar.gz') +sha256sums=('SKIP' + '9cc5133028b84d5031dbd054719238095e46a5aed507f3b32265fa2906f37905') + +pkgver() { + cd "${pkgname}" + + # Using the most recent annotated tag reachable from the last commit: + git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + # can't use unannotated tag pkgver() example because of issue with "{" +} + +build() { + cd "${pkgname}" + + # https://github.com/kritzikratzi/Oscilloscope#compiling-with-make-in-linux + cp -R addons/ofxMightyUI/bin/data/* bin/data/ + cp -R addons/ofxFontAwesome/bin/data/* bin/data/ + make +} + +package() { + cd "${pkgname}" + make DESTDIR="${pkgdir}/" install +} |