From 4e5226bf198610e867e822ad4ef7381ce620525e Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 3 Dec 2010 03:30:50 +0000
Subject: mpeg_stat: recompile

---
 abs/extra/mpeg_stat/PKGBUILD | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/abs/extra/mpeg_stat/PKGBUILD b/abs/extra/mpeg_stat/PKGBUILD
index 37be249..b0f7315 100644
--- a/abs/extra/mpeg_stat/PKGBUILD
+++ b/abs/extra/mpeg_stat/PKGBUILD
@@ -10,10 +10,13 @@ depends=('ffmpeg')
 source=(http://www.sfr-fresh.com/unix/misc/old/${pkgname}-${pkgver}-src.tar.gz)
 
 build() {
+   cd ${srcdir}/${pkgname}
 
-cd $startdir/src/mpeg_stat
-make || return 1
-install -m755 -D $startdir/src/mpeg_stat/mpeg_stat $startdir/pkg/usr/bin/mpeg_stat
-install -m644 -D $startdir/src/mpeg_stat/COPYRIGHT $startdir/pkg/usr/share/licenses/mpeg_stat/COPYRIGHT
+   make || return 1
 }
-
+package() {
+   cd ${srcdir}/${pkgname}
+   install -m755 -D ${srcdir}/mpeg_stat/mpeg_stat ${pkgdir}/usr/bin/mpeg_stat
+   install -m644 -D ${srcdir}/mpeg_stat/COPYRIGHT ${pkgdir}/usr/share/licenses/mpeg_stat/COPYRIGHT
+}
+md5sums=('d0eca3833b76855c4e348b39deaf667d')
-- 
cgit v0.12

