blob: 2685393b66945f0187fc5953d8a49ff7935cc3c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $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.2.2
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=('6a3473a12c8a1fa7bdc2b5cb829fab58')
build() {
cd ${srcdir}/${pkgname}/build/generic
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/${pkgname}/build/generic
make DESTDIR=${pkgdir} install || return 1
#Fix dynamic libraries
cd ${pkgdir}/usr/lib
mylib=$(basename libxvidcore.so.*)
ln -sf ${mylib} libxvidcore.so.4
ln -sf ${mylib} libxvidcore.so
}
|