Skip to content

Commit

Permalink
archrelease: copy trunk to extra-any
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@375956 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
dvzrv committed Feb 20, 2020
1 parent c695583 commit 9cb114c
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions alsa-ucm-conf/repos/extra-any/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
# Maintainer: David Runge <[email protected]>
# Contributor: Jan Alexander Steffens (heftig) <[email protected]>

pkgname=alsa-ucm-conf
pkgver=1.2.1.2
pkgver=1.2.2
pkgrel=1
pkgdesc="ALSA Use Case Manager configuration (and topologies)"
url="https://alsa-project.org/"
arch=(any)
license=(custom:BSD)
source=(ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2)
sha256sums=('ea8a86875f4cf430d49a662a04a6d6c606c5c9d67e54cb944c4d77b24554062f')
arch=('any')
license=('BSD')
source=("https://www.alsa-project.org/files/pub/lib/$pkgname-$pkgver.tar.bz2")
sha512sums=('25e3f341c110772c7cffc8c7745b320f2ddd12fe6460380c088939b5dc67b99ae4ad92e69375179574e0e1c40d14ff49961e86494e223fde009e51590f00ca8f')
b2sums=('ce850415a115f673267f6ab32f176c2ab73aad8bd7cf2be244bfbb7342756c6de2212044cb92b3524dc4189955c8144b134af144b6a15aabf33c06cbcfe1fdf6')

package() {
mkdir -p "$pkgdir/usr/share/alsa"
cp -t "$pkgdir/usr/share/alsa" -r ucm2

install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
cd "${pkgname}-${pkgver}"
for dir in ucm2/*; do
if [ -d "$dir" ] && [[ "$dir" == */codecs ]] || [[ "$dir" == */dsps ]] || [[ "$dir" == */platforms ]]; then
for subdir in "${dir}/"*; do
install -vDm 644 "${subdir}"/*.conf -t "$pkgdir/usr/share/alsa/ucm2/$(basename $dir)/$(basename $subdir)"
done
else
[ -d "$dir" ] && install -vDm 644 "${dir}"/*.conf -t "$pkgdir/usr/share/alsa/ucm2/$(basename $dir)"
fi
done
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -vDm 644 ucm2/README.md -t "$pkgdir/usr/share/doc/$pkgname/ucm2"
}

0 comments on commit 9cb114c

Please sign in to comment.