[arch-commits] Commit in zita-alsa-pcmi/repos/extra-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 3 14:09:16 UTC 2019
Date: Thursday, October 3, 2019 @ 14:09:16
Author: dvzrv
Revision: 363693
archrelease: copy trunk to extra-x86_64
Added:
zita-alsa-pcmi/repos/extra-x86_64/PKGBUILD
(from rev 363692, zita-alsa-pcmi/trunk/PKGBUILD)
Deleted:
zita-alsa-pcmi/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 107 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 14:09:11 UTC (rev 363692)
+++ PKGBUILD 2019-10-03 14:09:16 UTC (rev 363693)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-
-pkgname=zita-alsa-pcmi
-pkgver=0.3.2
-pkgrel=1
-pkgdesc="The successor of clalsadrv, provides easy access to ALSA PCM devices."
-arch=('x86_64')
-url="https://kokkinizita.linuxaudio.org/linuxaudio/"
-license=('GPL3')
-depends=('gcc-libs' 'alsa-lib')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
-sha512sums=('9d6040d0ec636ebcf02a033cdc017105bbed8e0ddb99584890d8e027402a85791e0983a1a9cd677dc6f1da0ced530afb5e65a8e863329a5e785ef09e0b7124f0')
-
-prepare() {
- cd "$pkgname-$pkgver"
- # remove optimization
- # call ldconfig in local context
- sed -e '/native/d' \
- -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
- -i source/Makefile
- # fix use of BINDIR without preceeding DESTDIR
- sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
- -i apps/Makefile
-}
-
-build() {
- cd "$pkgname-$pkgver/source"
- make
- # create lib link for building apps
- ln -sv lib$pkgname.so.$pkgver lib$pkgname.so
-
- # apps
- cd ../apps
- CXXFLAGS+=" -I../source" \
- LDFLAGS+=" -L../source" \
- make
-
- rm -v ../source/lib$pkgname.so
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- # libs
- make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
-
- # apps
- make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
-}
-
-# vim:set ts=2 sw=2 et:
-
Copied: zita-alsa-pcmi/repos/extra-x86_64/PKGBUILD (from rev 363692, zita-alsa-pcmi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-03 14:09:16 UTC (rev 363693)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+
+pkgname=zita-alsa-pcmi
+pkgver=0.3.2
+pkgrel=2
+pkgdesc="The successor of clalsadrv, provides easy access to ALSA PCM devices."
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('GPL3')
+depends=('alsa-lib' 'gcc-libs' 'glibc')
+provides=('libzita-alsa-pcmi.so')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
+sha512sums=('9d6040d0ec636ebcf02a033cdc017105bbed8e0ddb99584890d8e027402a85791e0983a1a9cd677dc6f1da0ced530afb5e65a8e863329a5e785ef09e0b7124f0')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # remove optimization
+ # call ldconfig in local context
+ sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -i source/Makefile
+ # fix use of BINDIR without preceeding DESTDIR
+ sed -e 's/\ $(BINDIR)/\ $(DESTDIR)$(BINDIR)/' \
+ -i apps/Makefile
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make -C source
+
+ (
+ cd source
+ # create lib link for building apps
+ ln -sv lib$pkgname.so.$pkgver lib$pkgname.so
+ )
+
+ CXXFLAGS+=" -I../source" \
+ LDFLAGS+=" -L../source" \
+ make -C apps
+
+ rm -v source/lib$pkgname.so
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ # libs
+ make -C source DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
+ install -vDm 644 {AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ # apps
+ make -C apps DESTDIR="$pkgdir/" PREFIX=/usr install
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list