diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-01-25 16:46:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-01-25 16:46:40 (GMT) |
commit | 01475bc20e5d2fc2d3ee35c26481145baef689d0 (patch) | |
tree | d5a69c8667604e945d9d754606eb0da765e1afc8 /abs/extra/dcadec/PKGBUILD | |
parent | 7636881ae3a343565cd4368618cfcfff731d2fa5 (diff) | |
download | linhes_pkgbuild-01475bc20e5d2fc2d3ee35c26481145baef689d0.zip linhes_pkgbuild-01475bc20e5d2fc2d3ee35c26481145baef689d0.tar.gz linhes_pkgbuild-01475bc20e5d2fc2d3ee35c26481145baef689d0.tar.bz2 |
dcadec: initial inclusion. dep of ffmpeg
Diffstat (limited to 'abs/extra/dcadec/PKGBUILD')
-rw-r--r-- | abs/extra/dcadec/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/dcadec/PKGBUILD b/abs/extra/dcadec/PKGBUILD new file mode 100644 index 0000000..5e52ae8 --- /dev/null +++ b/abs/extra/dcadec/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> +# Contributor: Yamashita Ren <lemaitre.lotus@gmail.com> + +pkgname=dcadec +pkgver=0.2.0 +pkgrel=1 +pkgdesc='DTS Coherent Acoustics decoder with support for HD extensions' +arch=('i686' 'x86_64') +url='https://github.com/foo86/dcadec.git' +license=('LGPL2.1') +depends=('glibc') +provides=('libdcadec.so') +source=("dcadec-${pkgver}.tar.gz::https://github.com/foo86/dcadec/archive/v${pkgver}.tar.gz") +sha256sums=('ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44') + +build() { + cd dcadec-${pkgver} + + export CONFIG_SHARED='TRUE' + + make +} + +package() { + cd dcadec-${pkgver} + + export CONFIG_SHARED='TRUE' + export PREFIX='/usr' + + make DESTDIR="${pkgdir}" install + mv "${pkgdir}"/usr/bin/dcadec{,-hd} +} + +# vim: ts=2 sw=2 et: |