[arch-commits] Commit in (4 files)
Ray Rashif
schiv at archlinux.org
Mon Aug 11 12:21:48 UTC 2014
Date: Monday, August 11, 2014 @ 14:21:48
Author: schiv
Revision: 219547
community2extra: Moving zita-alsa-pcmi from community to extra
Added:
zita-alsa-pcmi/
zita-alsa-pcmi/repos/
zita-alsa-pcmi/trunk/
zita-alsa-pcmi/trunk/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Added: zita-alsa-pcmi/trunk/PKGBUILD
===================================================================
--- zita-alsa-pcmi/trunk/PKGBUILD (rev 0)
+++ zita-alsa-pcmi/trunk/PKGBUILD 2014-08-11 12:21:48 UTC (rev 219547)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=zita-alsa-pcmi
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="The successor of clalsadrv, provides easy access to ALSA PCM devices."
+arch=(i686 x86_64)
+url="http://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('GPL3')
+depends=('gcc-libs' 'alsa-lib')
+source=("${url}downloads/$pkgname-$pkgver.tar.bz2")
+md5sums=('0ba4d59abce231056e2628d081124114')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/libs"
+ # call ldconfig locally
+ sed -i 's/ldconfig/& -N $(DESTDIR)$(PREFIX)\/$(LIBDIR)/' Makefile
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/libs"
+
+ # libs
+ 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
+ make -C libs DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install
+
+ # apps
+ make -C apps DESTDIR="$pkgdir/" PREFIX=/usr LIBDIR=lib install
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: zita-alsa-pcmi/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list