summaryrefslogtreecommitdiff
path: root/extra/libmpeg2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libmpeg2/PKGBUILD')
-rw-r--r--extra/libmpeg2/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/libmpeg2/PKGBUILD b/extra/libmpeg2/PKGBUILD
index 25960822d..60a0499b2 100644
--- a/extra/libmpeg2/PKGBUILD
+++ b/extra/libmpeg2/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 134366 2011-08-03 07:11:36Z jgc $
+# $Id: PKGBUILD 177015 2013-02-04 08:35:17Z jgc $
# Contributor: Sarah Hay <sarah@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libmpeg2
pkgver=0.5.1
-pkgrel=3
+pkgrel=4
pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams."
arch=('i686' 'x86_64')
url="http://libmpeg2.sourceforge.net/"
depends=('glibc')
makedepends=('sdl' 'libxv')
-optdepends=('sdl: requiered for mpeg2dec'
- 'libxv: requiered for mpeg2dec')
+optdepends=('sdl: required for mpeg2dec'
+ 'libxv: required for mpeg2dec')
source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz
libmpeg2-0.5.1-gcc4.6.patch)
license=('GPL2')
@@ -31,5 +31,9 @@ build() {
make OPT_CFLAGS="${CFLAGS}" \
MPEG2DEC_CFLAGS="${CFLAGS}" \
LIBMPEG2_CFLAGS=""
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}