summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/extra/mpeg_stat/PKGBUILD13
1 files 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')