git » audiofile.git » commit 498c59e

Use bash arrays with one entry per line for easier handling.

author David Runge
2025-08-25 18:59:02 UTC
committer David Runge
2025-08-25 18:59:02 UTC
parent 796ff054d18fcba8651aede64ef255f16d8e17f9

Use bash arrays with one entry per line for easier handling.

Signed-off-by: David Runge <dvzrv@archlinux.org>

PKGBUILD +23 -15

diff --git a/PKGBUILD b/PKGBUILD
index fae334d..ad43190 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,23 +8,31 @@ pkgrel=10
 pkgdesc="Silicon Graphics Audio File Library"
 arch=(x86_64)
 url="https://audiofile.68k.org/"
-license=(GPL2 LGPL2.1)
-depends=(gcc-libs flac)
+license=(
+  GPL2
+  LGPL2.1
+)
+depends=(
+  gcc-libs
+  flac
+)
 makedepends=(alsa-lib)
 provides=(libaudiofile.so)
-source=(https://audiofile.68k.org/$pkgname-$pkgver.tar.gz
-        01_gcc6.patch
-        02_hurd.patch
-        03_CVE-2015-7747.patch
-        04_clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch
-        05_Always-check-the-number-of-coefficients.patch
-        06_Check-for-multiplication-overflow-in-MSADPCM-decodeSam.patch
-        07_Check-for-multiplication-overflow-in-sfconvert.patch
-        08_Fix-signature-of-multiplyCheckOverflow.-It-returns-a-b.patch
-        09_Actually-fail-when-error-occurs-in-parseFormat.patch
-        10_Check-for-division-by-zero-in-BlockCodec-runPull.patch
-        11_CVE-2018-13440.patch
-        12_CVE-2018-17095.patch)
+source=(
+  https://audiofile.68k.org/$pkgname-$pkgver.tar.gz
+  01_gcc6.patch
+  02_hurd.patch
+  03_CVE-2015-7747.patch
+  04_clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch
+  05_Always-check-the-number-of-coefficients.patch
+  06_Check-for-multiplication-overflow-in-MSADPCM-decodeSam.patch
+  07_Check-for-multiplication-overflow-in-sfconvert.patch
+  08_Fix-signature-of-multiplyCheckOverflow.-It-returns-a-b.patch
+  09_Actually-fail-when-error-occurs-in-parseFormat.patch
+  10_Check-for-division-by-zero-in-BlockCodec-runPull.patch
+  11_CVE-2018-13440.patch
+  12_CVE-2018-17095.patch
+)
 sha512sums=('f9a1182d93e405c21eba79c5cc40962347bff13f1b3b732d9a396e3d1675297515188bd6eb43033aaa00e9bde74ff4628c1614462456529cabba464f03c1d5fa'
             'ae11735970eaddb664251614743cb46ae029b4073f4f8ea7cd4570d50c0f4b7f7b426399901b011d1ea799bb99d4ac648e76be97f13a51e32d7a63f97b38a89f'
             '76ce5a29beaa394f3a24e7db7c40864f26119857e78087b6780853d06d4f44e80656c418b2c99d95224d29b69c23c51c54a4c8edac5dbaa4038a9d6c1ef7be06'