summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62cf6d6b6357f454530eeb3bf0c050cc31a774fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer Alexander Mcmillan <linuxguy93@gmail.com>

pkgname=omalleys-irish-whistles
pkgver=1.0.0
pkgrel=2
pkgdesc="Omalleys Irish Whistles Sample Library (VST Plugin)."
arch=('x86_64')
url="https://librewave.com/product/omalleys-irish-whistles/"
license=('GPL3')
groups=('pro-audio' 'vst-plugins')
depends=('libcurl-gnutls')
makedepends=('xdg-user-dirs' 'unzip')
source=("OMalleys Irish Whistles.desktop")
md5sums=('748d7a85b4069cc877452efc035ba2af')

prepare () {
	## Extract Michaelas Harp
	_runscript="`xdg-user-dir DOWNLOAD`/OMalleys Irish Whistles 1.0.0.sh"
	ln -srf "${_runscript}" "$srcdir/`basename "${_runscript}"`"
	chmod +x "$srcdir/`basename "${_runscript}"`"
	sh "$srcdir/`basename "${_runscript}"`" --tar xvf
}

package() {
    ## Install Standalone Application
    install -Dm755 "$srcdir/OMalleys Irish Whistles" "$pkgdir/usr/bin/OMalleys Irish Whistles"

    ## Install Desktop Launcher
    install -Dm644 "$srcdir/OMalleys Irish Whistles.desktop" "$pkgdir/usr/share/applications/OMalleys Irish Whistles.desktop"

    ## Install VST Plugin
    install -Dm755 "$srcdir/OMalleys Irish Whistles.so" "$pkgdir/usr/lib/vst/OMalleys Irish Whistles.so"

    ## Install EULA
    install -Dm644 "$srcdir/License.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}