summaryrefslogtreecommitdiffstats
path: root/abs/extra/community
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-12-02 18:13:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-12-02 18:13:59 (GMT)
commit066bcb38c4b416f0c380e9c8292a50f9103b72b6 (patch)
tree07de64551a26f8a292dd1fff09f006334d7e1396 /abs/extra/community
parentb0043b3d2e43f154d7a4d48db95ef59f2d504fdd (diff)
parentb5cb0290860bd55f2fd25238996601f2fd749615 (diff)
downloadlinhes_pkgbuild-066bcb38c4b416f0c380e9c8292a50f9103b72b6.zip
linhes_pkgbuild-066bcb38c4b416f0c380e9c8292a50f9103b72b6.tar.gz
linhes_pkgbuild-066bcb38c4b416f0c380e9c8292a50f9103b72b6.tar.bz2
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/community')
-rw-r--r--abs/extra/community/codecs/PKGBUILD39
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
}