summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgandalf32020-02-13 17:26:37 -0800
committergandalf32020-02-13 17:26:37 -0800
commitc13cc73e245403b7b1ac71814cde8bede77707b7 (patch)
tree0eafcc81201249ecafc3c2579a7efaaca19b7894 /PKGBUILD
downloadaur-c13cc73e245403b7b1ac71814cde8bede77707b7.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..867489590fc3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# gandalf3 <gandalf3@blendermonkey.com>
+
+pkgname=swami
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='A SoundFont editor'
+arch=('x86_64')
+url='http://www.swamiproject.org'
+license=('GPL2')
+depends=('gtk2' 'fftw' 'audiofile' 'fluidsynth')
+makedepends=('cmake')
+optdepends=('libpng')
+source=("https://github.com/swami/${pkgname}/archive/v${pkgver}.tar.gz" 'cwd.patch')
+sha1sums=('218685dec42d2db2dffa77a28633096d29458950'
+ 'c8f475348486f7664deb1d47afa90039d31529e8')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch src/swamigui/main.c < ../cwd.patch
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ cmake '-D CMAKE_INSTALL_PREFIX=/usr' .
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" install
+}