[arch-commits] Commit in flac/repos (4 files)

Allan McRae allan at archlinux.org
Sun Dec 6 07:11:10 UTC 2015


    Date: Sunday, December 6, 2015 @ 08:11:10
  Author: allan
Revision: 252638

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  flac/repos/staging-i686/
  flac/repos/staging-i686/PKGBUILD
    (from rev 252637, flac/trunk/PKGBUILD)
  flac/repos/staging-x86_64/
  flac/repos/staging-x86_64/PKGBUILD
    (from rev 252637, flac/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: flac/repos/staging-i686/PKGBUILD (from rev 252637, flac/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-06 07:11:10 UTC (rev 252638)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=flac
+pkgname=('flac' 'flac-doc')
+pkgver=1.3.1
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://flac.sourceforge.net/"
+license=('BSD' 'GPL')
+depends=('gcc-libs' 'libogg')
+makedepends=('nasm' 'doxygen')
+options=('!makeflags')
+source=(http://downloads.xiph.org/releases/flac/${pkgbase}-${pkgver}.tar.xz)
+sha1sums=('38e17439d11be26207e4af0ff50973815694b26f')
+
+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/staging-x86_64/PKGBUILD (from rev 252637, flac/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-06 07:11:10 UTC (rev 252638)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=flac
+pkgname=('flac' 'flac-doc')
+pkgver=1.3.1
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://flac.sourceforge.net/"
+license=('BSD' 'GPL')
+depends=('gcc-libs' 'libogg')
+makedepends=('nasm' 'doxygen')
+options=('!makeflags')
+source=(http://downloads.xiph.org/releases/flac/${pkgbase}-${pkgver}.tar.xz)
+sha1sums=('38e17439d11be26207e4af0ff50973815694b26f')
+
+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"
+}



More information about the arch-commits mailing list