[arch-commits] Commit in zita-alsa-pcmi/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 3 14:09:11 UTC 2019
Date: Thursday, October 3, 2019 @ 14:09:11
Author: dvzrv
Revision: 363692
upgpkg: zita-alsa-pcmi 0.3.2-2
Adding docs. Adding libzita-alsa-pcmi.so to provides. Minor cleanups.
Modified:
zita-alsa-pcmi/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-03 13:18:19 UTC (rev 363691)
+++ PKGBUILD 2019-10-03 14:09:11 UTC (rev 363692)
@@ -3,12 +3,13 @@
pkgname=zita-alsa-pcmi
pkgver=0.3.2
-pkgrel=1
+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=('gcc-libs' 'alsa-lib')
+depends=('alsa-lib' 'gcc-libs' 'glibc')
+provides=('libzita-alsa-pcmi.so')
source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
sha512sums=('9d6040d0ec636ebcf02a033cdc017105bbed8e0ddb99584890d8e027402a85791e0983a1a9cd677dc6f1da0ced530afb5e65a8e863329a5e785ef09e0b7124f0')
@@ -25,29 +26,28 @@
}
build() {
- cd "$pkgname-$pkgver/source"
- make
- # create lib link for building apps
- ln -sv lib$pkgname.so.$pkgver lib$pkgname.so
+ cd "$pkgname-$pkgver"
+ make -C source
- # apps
- cd ../apps
+ (
+ cd source
+ # create lib link for building apps
+ ln -sv lib$pkgname.so.$pkgver lib$pkgname.so
+ )
+
CXXFLAGS+=" -I../source" \
LDFLAGS+=" -L../source" \
- make
+ make -C apps
- rm -v ../source/lib$pkgname.so
+ 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