diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /pcr/sineshaper/PKGBUILD | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/sineshaper/PKGBUILD')
-rw-r--r-- | pcr/sineshaper/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/sineshaper/PKGBUILD b/pcr/sineshaper/PKGBUILD new file mode 100644 index 000000000..61560a770 --- /dev/null +++ b/pcr/sineshaper/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer : Guest One <theguestone at gmail dot com> +# patch taken from https://aur.archlinux.org/packages/sineshaper/ +pkgname=sineshaper +pkgver=0.4.2 +pkgrel=1 +pkgdesc="A monophonic DSSI synth plugin." +arch=('i686') +url="http://www.student.nada.kth.se/~d00-llu/music_dssi.php?lang=en" +license=('GPL') +depends=('libglademm' 'dssi') +makedepends=('ladspa') +source=("http://ll-plugins.sourceforge.net/release/$pkgname-$pkgver.tar.gz" gcc-4.3.patch) +md5sums=('952cb5bde0ae4fe2274859df5ed1ee61' + '78c44bb7b1586917224f26aaa9545e9e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # gcc 4.3 patch + patch -Np1 -i "$srcdir/${source[1]}" + + # DSO link fix + LDFLAGS+="-lgthread-2.0" \ + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + + # rename launcher + mv "$pkgdir/usr/bin/$pkgname.sh" \ + "$pkgdir/usr/bin/$pkgname" +} |