diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/community/codecs/PKGBUILD | 39 |
1 files changed, 14 insertions, 25 deletions
diff --git a/abs/extra/community/codecs/PKGBUILD b/abs/extra/community/codecs/PKGBUILD index 8cf80be..416ff37 100644 --- a/abs/extra/community/codecs/PKGBUILD +++ b/abs/extra/community/codecs/PKGBUILD @@ -1,33 +1,22 @@ -# $Id: PKGBUILD 27228 2009-02-17 05:58:02Z thayer $ -# Contributor: Thomas Baechler <thomas@archlinux.org> -# Maintainer: Thayer Williams <thayer@archlinux.org> +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> pkgname=codecs -pkgver=20071007 -pkgrel=3 -pkgdesc="Non-linux native codec pack. (Win32, Real9, QuickTime)" -arch=('i686' 'x86_64') +pkgver=20100303 +pkgrel=4 +pkgdesc="Non-linux native codec pack." +arch=('i686') +url="http://www.mplayerhq.hu/design7/dload.html" license=('unknown') -# The codec packages are different -# only the 32 bit package needs legacy libstdc++ -[ "$CARCH" = "i686" ] && depends=('libstdc++5') -[ "$CARCH" = "x86_64" ] && depends=('gcc-libs') +depends=('libstdc++5') +conflicts=('codecs-extra') +replaces=('codecs-extra') options=('!strip') -url="http://www.mplayerhq.hu/design7/dload.html" - -md5sums=('4ea9c2dbd0945c83af1a8d0dd363993c') -_arch="" -if [ "${CARCH}" = "x86_64" ]; then - _arch="-amd64" - md5sums=('8e1ceeec51469f5baac65e56fac709e8') -fi -source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/essential${_arch}-${pkgver}.tar.bz2) +source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/all-$pkgver.tar.bz2) +md5sums=('4a7eb1a706f4ed9950bf6dd7f063ef68') build() { - mkdir -p ${pkgdir}/usr/lib/codecs - cd ${pkgdir}/usr/lib - ln -s codecs win32 - install -m755 ${srcdir}/essential${_arch}-${pkgver}/* ${pkgdir}/usr/lib/codecs - rm ${pkgdir}/usr/lib/codecs/README + install -d $pkgdir/usr/lib/codecs + ln -s codecs ${pkgdir}/usr/lib/win32 + install -m644 $srcdir/all-$pkgver/* $pkgdir/usr/lib/codecs } |