diff options
Diffstat (limited to 'abs/core/xvidcore')
-rw-r--r-- | abs/core/xvidcore/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/abs/core/xvidcore/PKGBUILD b/abs/core/xvidcore/PKGBUILD index 82e87b5..2685393 100644 --- a/abs/core/xvidcore/PKGBUILD +++ b/abs/core/xvidcore/PKGBUILD @@ -1,27 +1,30 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 60177 2009-12-01 17:36:38Z giovanni $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Sarah Hay <sarah@archlinux.org> pkgname=xvidcore -pkgver=1.1.3 +pkgver=1.2.2 pkgrel=1 pkgdesc="XviD is an open source MPEG-4 video codec" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL') url="http://www.xvid.org/" depends=('glibc') makedepends=('nasm') source=(http://downloads.xvid.org/downloads/${pkgname}-${pkgver}.tar.bz2) -md5sums=('29c60d4d991ac18f687a8fd13cfe64b7') +md5sums=('6a3473a12c8a1fa7bdc2b5cb829fab58') build() { - cd ${startdir}/src/${pkgname}-${pkgver}/build/generic + cd ${srcdir}/${pkgname}/build/generic ./configure --prefix=/usr make || return 1 - make DESTDIR=${startdir}/pkg install +} +package() { + cd ${srcdir}/${pkgname}/build/generic + make DESTDIR=${pkgdir} install || return 1 #Fix dynamic libraries - cd ${startdir}/pkg/usr/lib + cd ${pkgdir}/usr/lib mylib=$(basename libxvidcore.so.*) ln -sf ${mylib} libxvidcore.so.4 ln -sf ${mylib} libxvidcore.so |