[arch-commits] Commit in flac/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Aug 6 22:39:30 UTC 2019
Date: Tuesday, August 6, 2019 @ 22:39:29
Author: anthraxx
Revision: 359269
upgpkg: flac 1.3.3-1
Modified:
flac/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-06 20:58:47 UTC (rev 359268)
+++ PKGBUILD 2019-08-06 22:39:29 UTC (rev 359269)
@@ -1,21 +1,25 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
pkgbase=flac
pkgname=('flac' 'flac-doc')
-pkgver=1.3.2
-pkgrel=2
+pkgver=1.3.3
+pkgrel=1
+pkgdesc='Free Lossless Audio Codec'
+url='https://xiph.org/flac/'
arch=('x86_64')
-url="https://xiph.org/flac/"
license=('BSD' 'GPL')
depends=('gcc-libs' 'libogg')
makedepends=('nasm' 'doxygen')
-options=('!makeflags')
source=(https://downloads.xiph.org/releases/flac/${pkgbase}-${pkgver}.tar.xz)
-sha1sums=('2bdbb56b128a780a5d998e230f2f4f6eb98f33ee')
+sha256sums=('213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748')
+sha512sums=('d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28')
build() {
cd ${pkgbase}-${pkgver}
- ./configure --prefix=/usr --disable-sse
+ ./configure \
+ --prefix=/usr \
+ --disable-sse
make
}
@@ -25,20 +29,22 @@
}
package_flac() {
- pkgdesc="Free Lossless Audio Codec"
options=('!docs')
+ provides=('libFLAC.so' 'libFLAC++.so')
cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING.Xiph "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
package_flac-doc() {
- pkgdesc="Developer documentation for the Free Lossless Audio Codec"
+ pkgdesc+=' documentation'
depends=('flac')
cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" -C doc install
- sed -i "s|$srcdir/${pkgbase}-${pkgver}|/usr|" "${pkgdir}/usr/share/doc/${pkgbase}-${pkgver}/FLAC.tag"
- install -D -m644 COPYING.Xiph "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ sed -i "s|${srcdir}/${pkgbase}-${pkgver}|/usr|" "${pkgdir}/usr/share/doc/${pkgbase}/FLAC.tag"
+ install -Dm 644 COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list