diff options
author | root <root@rshg054.dnsready.net> | 2013-08-14 01:35:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-14 01:35:52 -0700 |
commit | 35ddd3815641e4564d75c5b402f7f0cf48628167 (patch) | |
tree | c182205aac34cc99f9059a2e5f5d2c823a7bb258 /community/aeolus/PKGBUILD | |
parent | 67ed1f749df552e8649438980b92b257f868eb8d (diff) |
Wed Aug 14 01:35:17 PDT 2013
Diffstat (limited to 'community/aeolus/PKGBUILD')
-rw-r--r-- | community/aeolus/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/community/aeolus/PKGBUILD b/community/aeolus/PKGBUILD new file mode 100644 index 000000000..bf9deece4 --- /dev/null +++ b/community/aeolus/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 95511 2013-08-13 03:47:20Z speps $ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Tom K <tomk@runbox.com> +# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> +# Contributor: Christoph Zeiler <arch at moonblade dot org> +# Contributor: Philipp Überbacher <murks at lavabit dot com> + +_stopver=0.3.0 +pkgname=aeolus +pkgver=0.9.0 +pkgrel=1 +pkgdesc="Synthesised pipe organ emulator" +arch=('i686' 'x86_64') +url="http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/" +license=('GPL3') +depends=('clthreads' 'clxclient' 'jack' 'zita-alsa-pcmi') +source=(${url}../downloads/{$pkgname-$pkgver,stops-$_stopver}.tar.bz2 $pkgname.conf) +md5sums=('6ae707e441f6d17eaabfde91c889bce2' + '2a7b1cae820408fa1cc655800d08d88f' + 'b9cbca97ac4184f0b207faf4f58f72a9') + +prepare() { + cd "$pkgname-$pkgver/source" + # strip ldconfig and -march=native + sed -i '/ldconfig\|-march=native/d' Makefile +} + +build() { + cd "$pkgname-$pkgver/source" + make PREFIX=/usr LIBDIR=lib +} + +package(){ + cd "$pkgname-$pkgver/source" + make DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install + + # system config file + install -Dm644 "$srcdir/$pkgname.conf" "$pkgdir/etc/$pkgname.conf" + + # stops + cd "$srcdir/stops-$_stopver" + find . -name definition -exec install -Dm644 {} ${pkgdir}/usr/share/$pkgname/stops/{} \; + find . -name presets -exec install -Dm644 {} ${pkgdir}/usr/share/$pkgname/stops/{} \; + find . -name '*.ae0' -exec install -Dm644 {} ${pkgdir}/usr/share/$pkgname/stops \; +} |