diff options
Diffstat (limited to 'abs/core/xvidcore')
-rw-r--r-- | abs/core/xvidcore/PKGBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/abs/core/xvidcore/PKGBUILD b/abs/core/xvidcore/PKGBUILD index 2685393..360ddd8 100644 --- a/abs/core/xvidcore/PKGBUILD +++ b/abs/core/xvidcore/PKGBUILD @@ -1,31 +1,33 @@ -# $Id: PKGBUILD 60177 2009-12-01 17:36:38Z giovanni $ +# $Id: PKGBUILD 126345 2011-06-04 23:54:53Z eric $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Sarah Hay <sarah@archlinux.org> pkgname=xvidcore -pkgver=1.2.2 +pkgver=1.3.2 pkgrel=1 pkgdesc="XviD is an open source MPEG-4 video codec" arch=('i686' 'x86_64') -license=('GPL') url="http://www.xvid.org/" +license=('GPL') depends=('glibc') makedepends=('nasm') source=(http://downloads.xvid.org/downloads/${pkgname}-${pkgver}.tar.bz2) -md5sums=('6a3473a12c8a1fa7bdc2b5cb829fab58') +md5sums=('34389e980d4f849688f8b1e168f4e2f9') +sha1sums=('74f9ce9c1bebcc9806bf21cb53274b8102700309') build() { - cd ${srcdir}/${pkgname}/build/generic + cd "${srcdir}/${pkgname}/build/generic" ./configure --prefix=/usr - make || return 1 + make } + package() { - cd ${srcdir}/${pkgname}/build/generic - make DESTDIR=${pkgdir} install || return 1 + cd "${srcdir}/${pkgname}/build/generic" + make DESTDIR="${pkgdir}" install #Fix dynamic libraries - cd ${pkgdir}/usr/lib - mylib=$(basename libxvidcore.so.*) - ln -sf ${mylib} libxvidcore.so.4 - ln -sf ${mylib} libxvidcore.so + cd "${pkgdir}/usr/lib" + _mylib=$(basename libxvidcore.so.*) + ln -sf ${_mylib} libxvidcore.so.4 + ln -sf ${_mylib} libxvidcore.so } |