Date: Sunday, June 3, 2018 @ 21:48:35
  Author: jgc
Revision: 325727

upgpkg: libmpeg2 0.5.1-6

Modified:
  libmpeg2/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-06-03 21:43:12 UTC (rev 325726)
+++ PKGBUILD    2018-06-03 21:48:35 UTC (rev 325727)
@@ -4,7 +4,7 @@
 
 pkgname=libmpeg2
 pkgver=0.5.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams."
 arch=('x86_64')
 url="http://libmpeg2.sourceforge.net/";
@@ -16,16 +16,19 @@
         libmpeg2-0.5.1-gcc4.6.patch)
 license=('GPL2')
 provides=('mpeg2dec')
-md5sums=('0f92c7454e58379b4a5a378485bbd8ef'
-         '8b36660297e6ffde6aa9733136bff405')
+sha256sums=('dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4'
+            '763e188eea36ee3cdfb31e7877bbead00676b5766c25175ec6a7eb20884926d1')
 
-build() {
+prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -Np1 -i "${srcdir}/libmpeg2-0.5.1-gcc4.6.patch"
 
   sed '/AC_PATH_XTRA/d' -i configure.ac
   autoreconf --force --install
+}
 
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --enable-shared --disable-static
   make OPT_CFLAGS="${CFLAGS}" \
        MPEG2DEC_CFLAGS="${CFLAGS}" \

Reply via email to