summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKookies2021-07-12 22:25:06 -0600
committerKookies2021-07-12 22:25:06 -0600
commit5132864a5e1e3893ff9bba4329f8acb8cdf17d70 (patch)
tree4abf332a2c2aca082fe983a496f0c78829a8946c
downloadaur-openrevolution-git.tar.gz
Initial PKGBUILD
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD32
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c8c36110c9b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = openrevolution-git
+ pkgdesc = C/C++ BRSTM and other format tools
+ pkgver = v2.7.0.r16.g54281d7
+ pkgrel = 1
+ url = https://github.com/ic-scm/openrevolution
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = rtaudio
+ optdepends = ffmpeg
+ provides = openrevolution
+ conflicts = openrevolution
+ source = openrevolution::git+https://github.com/ic-scm/openrevolution
+ md5sums = SKIP
+
+pkgname = openrevolution-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6cbb890c8ed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Kookies <kookies@tutamail.com>
+_pkgbase=openrevolution
+pkgname="${_pkgbase}-git"
+pkgver=v2.7.0.r16.g54281d7
+pkgrel=1
+pkgdesc="C/C++ BRSTM and other format tools"
+arch=('x86_64')
+url="https://github.com/ic-scm/openrevolution"
+license=('GPL3')
+depends=('rtaudio')
+makedepends=('git')
+optdepends=('ffmpeg')
+provides=($_pkgbase)
+conflicts=($_pkgbase)
+source=("$_pkgbase"::"git+https://github.com/ic-scm/openrevolution")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgbase/"
+ git describe --tags | sed -e 's/-\([^-]*-g[^-]*\)$/-r\1/' -e 's/-/./g'
+}
+
+build() {
+ cd "$srcdir/$_pkgbase/"
+ sh build.sh
+}
+
+package() {
+ cd "$srcdir/$_pkgbase"
+ install -D 'brstm_converter' "$pkgdir/usr/bin/brstm_converter"
+ install -D 'brstm_rt' "$pkgdir/usr/bin/brstm_rt"
+}