1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: speps <speps at aur dot archlinux dot org>
7 pkgdesc="The successor of clalsadrv, provides easy access to ALSA PCM devices."
9 url="https://kokkinizita.linuxaudio.org/linuxaudio/"
11 depends=(gcc-libs glibc)
12 makedepends=(alsa-lib)
13 provides=(libzita-alsa-pcmi.so)
14 source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
15 sha512sums=('e06ae18e657d75b354c7269fcf1a4ae56241e3efbb182c7a64611855a49e086028d4f9bd91a6bbe8da2a64357ab7190d6e0dc5ae38dc9c3457fc8ce256930a50')
16 b2sums=('16e4adb9e531e70528b6128997a2b899036e21bd00aed24ad257c1247c08b59f6a33c30b1d3ae22c29893fadb31af84fc3b336b405dc50c39b9ef6c9b2a90beb')
21 # call ldconfig in local context
23 -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
25 # fix use of BINDIR without preceeding DESTDIR
26 sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
33 # create lib link for building apps
34 ln -sv lib$pkgname.so.$pkgver source/lib$pkgname.so
35 CXXFLAGS+=" -I../source" \
36 LDFLAGS+=" -L../source" \
38 rm -v source/lib$pkgname.so
42 depends+=(libasound.so)
46 make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
47 install -vDm 644 {AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
49 make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
51 # vim:set ts=2 sw=2 et: