summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/xvidcore/PKGBUILD30
1 files changed, 13 insertions, 17 deletions
diff --git a/abs/core/xvidcore/PKGBUILD b/abs/core/xvidcore/PKGBUILD
index 360ddd8..237e1bc 100644
--- a/abs/core/xvidcore/PKGBUILD
+++ b/abs/core/xvidcore/PKGBUILD
@@ -1,33 +1,29 @@
-# $Id: PKGBUILD 126345 2011-06-04 23:54:53Z eric $
-# Maintainer: tobias <tobias@archlinux.org>
+# $Id$
+# Maintainer: Tom Gundersen
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: tobias <tobias@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgname=xvidcore
-pkgver=1.3.2
+pkgver=1.3.4
pkgrel=1
-pkgdesc="XviD is an open source MPEG-4 video codec"
+pkgdesc='XviD is an open source MPEG-4 video codec'
arch=('i686' 'x86_64')
-url="http://www.xvid.org/"
+url='http://www.xvid.org/'
license=('GPL')
depends=('glibc')
makedepends=('nasm')
-source=(http://downloads.xvid.org/downloads/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('34389e980d4f849688f8b1e168f4e2f9')
-sha1sums=('74f9ce9c1bebcc9806bf21cb53274b8102700309')
+provides=('libxvidcore.so')
+source=(http://downloads.xvid.org/downloads/$pkgname-$pkgver.tar.bz2)
+md5sums=('5e68b84e3286b7bbaa95ddc34f0fcace')
build() {
- cd "${srcdir}/${pkgname}/build/generic"
+ cd $pkgname/build/generic
./configure --prefix=/usr
make
}
package() {
- 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 $pkgname/build/generic
+ make DESTDIR="$pkgdir" install
}