diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b3ea4a11bad8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Fri Sep 7 22:14:52 UTC 2018 +pkgbase = 6pm + pkgdesc = A polyphonic, touch-sensitive, realtime, phase-modulation (PM) software synthesizer + pkgver = 0.9 + pkgrel = 1 + url = https://sourceforge.net/projects/mv-6pm/ + arch = i686 + arch = x86_64 + groups = pro-audio + license = GPL3 + makedepends = gcc + depends = qt5-base + depends = jack + source = https://sourceforge.net/projects/mv-6pm/files/6PM_v0.9.tgz + sha512sums = 1866bc87a1fff8e1bbfbf783665c38e8f64faaa3c722560fad6fb51512e9ab78d42b9e2ce6755b26f87a82f7543261d8946d9178f6ce4a97e4b33a6d49999a77 + +pkgname = 6pm + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0001fac1677b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Daniel Appelt <daniel.appelt@gmail.com> +pkgname=6pm +pkgver=0.9 +pkgrel=1 +pkgdesc="A polyphonic, touch-sensitive, realtime, phase-modulation (PM) software synthesizer" +arch=('i686' 'x86_64') +url="https://sourceforge.net/projects/mv-6pm/" +license=('GPL3') +groups=('pro-audio') +depends=('qt5-base' 'jack') +makedepends=('gcc') +source=("https://sourceforge.net/projects/mv-${pkgname}/files/${pkgname^^}_v${pkgver}.tgz") +sha512sums=('1866bc87a1fff8e1bbfbf783665c38e8f64faaa3c722560fad6fb51512e9ab78d42b9e2ce6755b26f87a82f7543261d8946d9178f6ce4a97e4b33a6d49999a77') + +build() { + cd "${srcdir}/${pkgname^^}_v${pkgver}/src" + +# rm ../build/* + qmake -o ../build/Makefile + make -s -C ../build +} + +package() { + cd "${srcdir}/${pkgname^^}_v${pkgver}" + + # Install executable + install -d "${pkgdir}/usr/bin" + install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin" + + # Install presets, midimaps, and documentation + install -d "${pkgdir}/usr/share/${pkgname}/Presets" + cp -Lpr Presets/* "${pkgdir}/usr/share/${pkgname}/Presets" + + install -d "${pkgdir}/usr/share/${pkgname}/MidiMaps" + cp -Lpr MidiMaps/* "${pkgdir}/usr/share/${pkgname}/MidiMaps" + + install -d "${pkgdir}/usr/share/${pkgname}/Doc" + cp -Lpr Doc/*EN.pdf "${pkgdir}/usr/share/${pkgname}/Doc" +} |