[arch-commits] CVS update of extra/multimedia/codecs (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Jun 17 07:11:48 EDT 2007


    Date: Sunday, June 17, 2007 @ 07:11:48
  Author: jgc
    Path: /home/cvs-extra/extra/multimedia/codecs

   Added: PKGBUILD (1.1)

Move to extra, move i686 to essentials package


----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)


Index: extra/multimedia/codecs/PKGBUILD
diff -u /dev/null extra/multimedia/codecs/PKGBUILD:1.1
--- /dev/null	Sun Jun 17 07:11:48 2007
+++ extra/multimedia/codecs/PKGBUILD	Sun Jun 17 07:11:48 2007
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD,v 1.1 2007/06/17 11:11:48 jgc Exp $
+# Maintainer: dorphell <dorphell at archlinux.org>
+# Committer: dorphell <dorphell at gmx.net>
+pkgname=codecs
+pkgver=20061022
+pkgrel=2
+pkgdesc="Non-linux native codec pack. (Win32, Real9, QuickTime)"
+arch=(i686 x86_64)
+depends=('libstdc++5') 
+options=('!strip')
+url="http://www.mplayerhq.hu/homepage/design7/codecs.html"
+source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-${pkgver}.tar.bz2)
+md5sums=('abcf4a3abc16cf88c9df7e0a77e9b941')
+_arch=""
+
+if [ "${CARCH}" = "x86_64" ]; then
+  pkgver=20061203
+  pkgrel=1
+  _arch="-amd64"
+  source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-${pkgver}.tar.bz2)
+  md5sums=('af409ba2918dc8f639dded805102fc76')
+fi
+
+build() {
+  mkdir -p ${startdir}/pkg/usr/lib/${pkgname}
+  cd ${startdir}/pkg/usr/
+  ln -s ../lib/${pkgname} lib/win32
+  install -m755 ${startdir}/src/essential${_arch}-${pkgver}/* ${startdir}/pkg/usr/lib/${pkgname}
+  rm ${startdir}/pkg/usr/lib/${pkgname}/README
+}




More information about the arch-commits mailing list