summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2020-09-29 16:06:29 +0200
committerChristopher Arndt2020-09-29 16:06:29 +0200
commit997cc445f0f38a8b6348274180a795a6555c390b (patch)
tree93eafa74f8599664b296759b26f5385d0af286be
downloadaur-xtuner.tar.gz
Add new package 'xtuner'
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO26
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD30
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e98ec84568f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = xtuner
+ pkgdesc = An instrument tuner for JACK
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/brummer10/XTuner
+ arch = i686
+ arch = x86_64
+ groups = pro-audio
+ license = GPL2
+ makedepends = jack
+ makedepends = liblo
+ makedepends = libsigc++
+ makedepends = zita-resampler
+ depends = cairo
+ optdepends = new-session-manager: for NSM support
+ source = https://github.com/brummer10/XTuner/releases/download/v1.0/XTuner_1.0.tar.gz
+ sha256sums = 9da772b5dab2e5e87be79c2558b29174fed6228cb28ae961b5f62b41a75f7185
+
+pkgname = xtuner
+ depends = cairo
+ depends = libfftw3f.so
+ depends = libjack.so
+ depends = liblo.so
+ depends = libsigc++
+ depends = libzita-resampler.so
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..71b112478d7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+.AURINFO
+pkg/
+src/
+XTuner_*.tar.gz
+xtuner-*.pkg.tar.xz
+xtuner-*.pkg.tar.zst
+xtuner-*.src.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ea789e72cde
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+_projectname=XTuner
+pkgname="${_projectname,,}"
+pkgver=1.0
+pkgrel=1
+pkgdesc="An instrument tuner for JACK"
+arch=('i686' 'x86_64')
+url="https://github.com/brummer10/${_projectname}"
+license=('GPL2')
+depends=('cairo')
+makedepends=('jack' 'liblo' 'libsigc++' 'zita-resampler')
+optdepends=('new-session-manager: for NSM support')
+groups=('pro-audio')
+source=(
+ "https://github.com/brummer10/${_projectname}/releases/download/v${pkgver}/${_projectname}_${pkgver}.tar.gz"
+)
+sha256sums=('9da772b5dab2e5e87be79c2558b29174fed6228cb28ae961b5f62b41a75f7185')
+
+
+build() {
+ cd "${srcdir}/${_projectname}_${pkgver}"
+ LDFLAGS="$LDFLAGS -z noexecstack" make
+}
+
+package() {
+ depends+=('libfftw3f.so' 'libjack.so' 'liblo.so' 'libsigc++' 'libzita-resampler.so')
+ cd "${srcdir}/${_projectname}_${pkgver}"
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+}