diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/zita-resampler/PKGBUILD | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/zita-resampler/PKGBUILD')
-rw-r--r-- | community/zita-resampler/PKGBUILD | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/community/zita-resampler/PKGBUILD b/community/zita-resampler/PKGBUILD deleted file mode 100644 index 2aecd92e3..000000000 --- a/community/zita-resampler/PKGBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# $Id: PKGBUILD 94623 2013-07-28 23:23:53Z speps $ -# Maintainer : speps <speps at aur dot archlinux dot org> -# Contributor: Philipp Überbacher <murks at lavabit dot com> - -pkgname=zita-resampler -pkgver=1.3.0 -pkgrel=2 -pkgdesc="A C++ library for resampling audio signals" -url="http://kokkinizita.linuxaudio.org/linuxaudio/" -arch=('i686' 'x86_64') -license=('GPL3') -depends=('gcc-libs' 'libsndfile') -source=("${url}downloads/$pkgname-$pkgver.tar.bz2") -md5sums=('74c12e2280008f63ac9f2670fe4cf79b') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - # FS#36248 - strip march=native - sed -i '/native/d' {libs,apps}/Makefile -} - -build() { - cd "$srcdir/$pkgname-$pkgver/libs" - - # lib - make PREFIX=/usr - - # create lib link for building apps - ln -s lib$pkgname.so.$pkgver lib$pkgname.so - - # apps - cd ../apps - CXXFLAGS+=" -I../libs" \ - LDFLAGS+=" -L../libs" \ - make PREFIX=/usr -} - -package() { - cd "$srcdir/$pkgname-$pkgver/libs" - - # lib - install -Dm755 lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so.$pkgver" - - # links - ln -s lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so" - ln -s lib$pkgname.so.$pkgver \ - "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}" - - # headers - install -d "$pkgdir/usr/include/$pkgname" - install -Dm644 $pkgname/*.h \ - "$pkgdir/usr/include/$pkgname" - - # apps - install -d "$pkgdir/usr/bin" - install -Dm755 ../apps/zre{sample,tune} \ - "$pkgdir/usr/bin" - - # docs - install -d "$pkgdir/usr/share/doc/$pkgname" - install -Dm644 ../docs/* \ - "$pkgdir/usr/share/doc/$pkgname" - - # man - install -d "$pkgdir/usr/share/man/man1" - install -Dm644 ../apps/zre{sample,tune}.1 \ - "$pkgdir/usr/share/man/man1" -} |