mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
imported aur/dcadec-git from archlinux (kodi-rbp-git dependency)
This commit is contained in:
parent
7ae6a74f01
commit
d123df9001
1 changed files with 42 additions and 0 deletions
42
aur/dcadec-git/PKGBUILD
Normal file
42
aur/dcadec-git/PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
||||
# Contributor: Yamashita Ren <lemaitre.lotus@gmail.com>
|
||||
|
||||
pkgname=dcadec-git
|
||||
pkgver=r211.81121d1
|
||||
pkgrel=1
|
||||
pkgdesc='DTS Coherent Acoustics decoder with support for HD extensions'
|
||||
arch=('armv6h' 'armv7h')
|
||||
url='https://github.com/foo86/dcadec.git'
|
||||
license=('LGPL2.1')
|
||||
depends=('glibc')
|
||||
conflicts=()
|
||||
provides=('dcadec')
|
||||
makedepends=('git')
|
||||
source=('git://github.com/foo86/dcadec.git')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd dcadec
|
||||
|
||||
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd dcadec
|
||||
|
||||
export CONFIG_SHARED='TRUE'
|
||||
|
||||
make -j 4
|
||||
}
|
||||
|
||||
package() {
|
||||
cd dcadec
|
||||
|
||||
export CONFIG_SHARED='TRUE'
|
||||
export PREFIX='/usr'
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
mv "${pkgdir}"/usr/bin/{dcadec,dcahddec}
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
Loading…
Reference in a new issue