[arch-commits] Commit in lib32-libvorbis/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Mar 19 23:02:04 UTC 2018
Date: Monday, March 19, 2018 @ 23:02:03
Author: anthraxx
Revision: 309185
upgpkg: lib32-libvorbis 1.3.6-1 (security update)
Modified:
lib32-libvorbis/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-19 22:17:36 UTC (rev 309184)
+++ PKGBUILD 2018-03-19 23:02:03 UTC (rev 309185)
@@ -2,17 +2,16 @@
_pkgbasename=libvorbis
pkgname=lib32-$_pkgbasename
-pkgver=1.3.5
+pkgver=1.3.6
pkgrel=1
pkgdesc="Vorbis codec library (32-bit)"
arch=('x86_64')
-license=('custom')
-url="http://www.xiph.org/ogg/vorbis/"
+license=('BSD')
+url="https://www.xiph.org/ogg/vorbis/"
depends=('lib32-libogg' $_pkgbasename)
-provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
-makedepends=(gcc-multilib)
+provides=('libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
source=(https://downloads.xiph.org/releases/vorbis/${_pkgbasename}-${pkgver}.tar.gz)
-md5sums=('7220e089f3be3412a2317d6fde9e3944')
+sha256sums=('6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb')
build() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
@@ -25,11 +24,19 @@
make
}
+check() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+
+ make -j1 check
+}
+
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
- mkdir -p "$pkgdir/usr/share/licenses"
+ install -d "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list