[arch-commits] Commit in codecs/trunk (PKGBUILD)
Thayer Williams
thayer at archlinux.org
Tue Feb 17 05:42:06 UTC 2009
Date: Tuesday, February 17, 2009 @ 00:42:06
Author: thayer
Revision: 27225
upgpkg: codecs 20071007-2
added symlink to win32 lib dir
Modified:
codecs/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-02-17 05:40:44 UTC (rev 27224)
+++ PKGBUILD 2009-02-17 05:42:06 UTC (rev 27225)
@@ -1,17 +1,19 @@
# $Id$
-# Maintainer: Thomas Baechler <thomas at archlinux.org>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+# Maintainer: Thayer Williams <thayer at archlinux.org>
pkgname=codecs
pkgver=20071007
-pkgrel=1
+pkgrel=2
pkgdesc="Non-linux native codec pack. (Win32, Real9, QuickTime)"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+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')
options=('!strip')
-url="http://www.mplayerhq.hu/homepage/design7/codecs.html"
+url="http://www.mplayerhq.hu/design7/dload.html"
md5sums=('4ea9c2dbd0945c83af1a8d0dd363993c')
_arch=""
@@ -22,9 +24,10 @@
source=(http://www.mplayerhq.hu/MPlayer/releases/codecs/essential${_arch}-${pkgver}.tar.bz2)
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
+ 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
}
+
More information about the arch-commits
mailing list