[arch-commits] Commit in wavpack/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jan 11 22:31:50 UTC 2021
Date: Monday, January 11, 2021 @ 22:31:50
Author: felixonmars
Revision: 406116
archrelease: copy trunk to extra-x86_64
Added:
wavpack/repos/extra-x86_64/PKGBUILD
(from rev 406115, wavpack/trunk/PKGBUILD)
Deleted:
wavpack/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 36 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-11 22:31:39 UTC (rev 406115)
+++ PKGBUILD 2021-01-11 22:31:50 UTC (rev 406116)
@@ -1,24 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=wavpack
-pkgver=5.3.0
-pkgrel=1
-pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes"
-arch=('x86_64')
-url="http://www.wavpack.com/"
-license=('BSD')
-depends=('glibc')
-source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2)
-sha512sums=('2c5038abfbe7ab3b51fb30b3fc8b636117e9afe1821c40832fbdfb960d1153e0cb4a68dd84a89b205c3cdc10030d3aa7a7340b296d9c148e8847471c2e7c0cd1')
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --disable-asm
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: wavpack/repos/extra-x86_64/PKGBUILD (from rev 406115, wavpack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-11 22:31:50 UTC (rev 406116)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=wavpack
+pkgver=5.3.0
+pkgrel=2
+pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes"
+arch=('x86_64')
+url="http://www.wavpack.com/"
+license=('BSD')
+depends=('glibc')
+source=(https://github.com/dbry/WavPack/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
+ https://github.com/dbry/WavPack/commit/89df160596132e3bd666322e1c20b2ebd4b92cd0.patch
+ https://github.com/dbry/WavPack/commit/63f3ec70129843dd64e11aa4c21c4a1cf00c9f1c.patch)
+sha512sums=('4029df6a70fac804924b4fdb223b5b65bbc25c2bd2a363c72ce1d1100fdea26ca5d889cf755caed226c66722eff491ce656ad28dc61fc535792ca5c82af54100'
+ 'd0310d6cd85250a1111d49defae800f99ba8eefadfb3b28c700a968d7f483b645ab86864200da616f85320a7ef113e19ec4633e96c7a3839fc53414aa6fbca47'
+ 'e4c342091cd55e3ea76e4187669fbb84c83b57c37e1b534d8cedc3d4d80ca9745687a9cc64eae76f0a6b35c20f6e010fdb8d6740bfc594e4309ea349c53fb01c')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # CVE-2020-35738
+ patch -Np1 < ../89df160596132e3bd666322e1c20b2ebd4b92cd0.patch
+ patch -Np1 < ../63f3ec70129843dd64e11aa4c21c4a1cf00c9f1c.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-asm
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list