sndio: fix symlinks and move license to libsndio

This commit is contained in:
Duncaen 2020-09-02 17:29:31 +02:00
parent 9b9ce32289
commit 7cbe9c2260
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,7 +1,7 @@
# Template file for 'sndio'
pkgname=sndio
version=1.7.0
revision=1
revision=2
build_style=configure
configure_args="--prefix=/usr"
makedepends="alsa-lib-devel"
@ -18,7 +18,6 @@ checksum=dda4e3d0879423ed57923975ba74668cbb9299939cad579b0ac64a4b01535552
post_install() {
vsv sndiod
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
vlicense LICENSE
}
libsndio_package() {
@ -27,7 +26,8 @@ libsndio_package() {
pkg_install() {
vmove "usr/lib/libsndio.so.*"
# compat symlink until everything is built with libsndio.so.7 as SONAME
ln -sf libsndio.7 ${PKGDESTDIR}/usr/lib/libsndio.7.0
ln -sf libsndio.so.7 ${PKGDESTDIR}/usr/lib/libsndio.so.7.0
vlicense LICENSE
}
}
sndio-devel_package() {