summaryrefslogtreecommitdiff
path: root/extra/xvidcore
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/xvidcore
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xvidcore')
-rw-r--r--extra/xvidcore/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/xvidcore/PKGBUILD b/extra/xvidcore/PKGBUILD
new file mode 100644
index 000000000..8b8438536
--- /dev/null
+++ b/extra/xvidcore/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 111793 2011-03-01 00:12:59Z eric $
+# Maintainer: tobias <tobias@archlinux.org>
+# Contributor: Sarah Hay <sarah@archlinux.org>
+
+pkgname=xvidcore
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="XviD is an open source MPEG-4 video codec"
+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=('22621243c4a588dcee599e77736309c2')
+sha1sums=('3220e3feee2c92ae73169009a23c9ef929867bc7')
+
+build() {
+ cd "${srcdir}/${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
+}