[arch-commits] Commit in flac/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Aug 6 22:39:34 UTC 2019


    Date: Tuesday, August 6, 2019 @ 22:39:33
  Author: anthraxx
Revision: 359270

archrelease: copy trunk to extra-x86_64

Added:
  flac/repos/extra-x86_64/PKGBUILD
    (from rev 359269, flac/trunk/PKGBUILD)
Deleted:
  flac/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 50 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-06 22:39:29 UTC (rev 359269)
+++ PKGBUILD	2019-08-06 22:39:33 UTC (rev 359270)
@@ -1,44 +0,0 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgbase=flac
-pkgname=('flac' 'flac-doc')
-pkgver=1.3.2
-pkgrel=2
-arch=('x86_64')
-url="http://flac.sourceforge.net/"
-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')
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  ./configure --prefix=/usr --disable-sse
-  make
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  make check
-}
-
-package_flac() {
-  pkgdesc="Free Lossless Audio Codec"
-  options=('!docs')
-
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -D -m644 COPYING.Xiph "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_flac-doc() {
-  pkgdesc="Developer documentation for the Free Lossless Audio Codec"
-  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"
-}

Copied: flac/repos/extra-x86_64/PKGBUILD (from rev 359269, flac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-06 22:39:33 UTC (rev 359270)
@@ -0,0 +1,50 @@
+# 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.3
+pkgrel=1
+pkgdesc='Free Lossless Audio Codec'
+url='https://xiph.org/flac/'
+arch=('x86_64')
+license=('BSD' 'GPL')
+depends=('gcc-libs' 'libogg')
+makedepends=('nasm' 'doxygen')
+source=(https://downloads.xiph.org/releases/flac/${pkgbase}-${pkgver}.tar.xz)
+sha256sums=('213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748')
+sha512sums=('d6417e14fab0c41b2df369e5e39ce62a5f588e491af4d465b0162f74e171e5549b2f061867f344bfbf8aaccd246bf5f2acd697e532a2c7901c920c69429b1a28')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --disable-sse
+  make
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  make check
+}
+
+package_flac() {
+  options=('!docs')
+  provides=('libFLAC.so' 'libFLAC++.so')
+
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING.Xiph -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_flac-doc() {
+  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}/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