Date: Saturday, September 26, 2020 @ 21:00:53 Author: escondida Revision: 712530
archrelease: copy trunk to community-x86_64 Added: sndio/repos/community-x86_64/PKGBUILD (from rev 712529, sndio/trunk/PKGBUILD) Deleted: sndio/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 94 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 52 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-26 21:00:08 UTC (rev 712529) +++ PKGBUILD 2020-09-26 21:00:53 UTC (rev 712530) @@ -1,42 +0,0 @@ -# Maintainer: Ivy Foster <c...@escondida.tk> -# Reference: PKGBUILD(5) - -pkgname=sndio -pkgver=1.7.0 -pkgrel=1 -pkgdesc='A small audio and MIDI framework part of the OpenBSD project' -arch=(x86_64) -url='http://www.sndio.org' -license=(ISC) - -# sndio can be built without libbsd, but there are a bunch of individual -# ISC-licensed files by different authors to extract the licenses from -# if done that way. Licenses are complicated. -depends=(alsa-lib libbsd) - -source=("http://www.sndio.org/sndio-$pkgver.tar.gz") -# checksums provided by packager -sha256sums=(dda4e3d0879423ed57923975ba74668cbb9299939cad579b0ac64a4b01535552) -backup=(etc/default/sndiod) - -build() { - cd "sndio-$pkgver" - ./configure --prefix=/usr --enable-alsa --with-libbsd - make -} - -package() { - cd "sndio-$pkgver" - - make DESTDIR="$pkgdir/" install - - install -D -m 644 contrib/sndiod.service \ - "$pkgdir/usr/lib/systemd/system/sndiod.service" - install -D -m 644 contrib/default.sndiod \ - "$pkgdir/etc/default/sndiod" - - install -d "$pkgdir/usr/share/licenses/sndio" - # this is the most up-to-date license outside of bsd-compat, - # which isn't being used in this build - sed '/^ \*\//q' aucat/aucat.c > "$pkgdir/usr/share/licenses/sndio/LICENSE" -} Copied: sndio/repos/community-x86_64/PKGBUILD (from rev 712529, sndio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-26 21:00:53 UTC (rev 712530) @@ -0,0 +1,52 @@ +# Maintainer: Ivy Foster <c...@escondida.tk> +# Reference: PKGBUILD(5) + +pkgname=sndio +pkgver=1.7.0 +pkgrel=2 +pkgdesc='A small audio and MIDI framework part of the OpenBSD project' +arch=(x86_64) +url='https://sndio.org' +license=(ISC) + +# sndio can be built without libbsd, but there are a bunch of individual +# ISC-licensed files by different authors to extract the licenses from +# if done that way. Licenses are complicated. +depends=(alsa-lib libbsd) + +provides=(libsndio.so=7.1) + +source=( + "https://sndio.org/sndio-$pkgver.tar.gz" + "https://sndio.org/sndio-$pkgver.tar.gz.asc" +) +# Checksum source: http://www.sndio.org/sndio-$pkgver.tar.gz.sha256 +sha256sums=( + dda4e3d0879423ed57923975ba74668cbb9299939cad579b0ac64a4b01535552 + SKIP +) +validpgpkeys=(6B1A7447AAF091CCDD36BAA6015E339411694A6E) + +backup=(etc/default/sndiod) + +build() { + cd "sndio-$pkgver" + ./configure --prefix=/usr --enable-alsa --with-libbsd + make +} + +package() { + cd "sndio-$pkgver" + + make DESTDIR="$pkgdir/" install + + install -D -m 644 contrib/sndiod.service \ + "$pkgdir/usr/lib/systemd/system/sndiod.service" + install -D -m 644 contrib/default.sndiod \ + "$pkgdir/etc/default/sndiod" + + install -d "$pkgdir/usr/share/licenses/sndio" + # this is the most up-to-date license outside of bsd-compat, + # which isn't being used in this build + sed '/^ \*\//q' aucat/aucat.c > "$pkgdir/usr/share/licenses/sndio/LICENSE" +}