[arch-commits] Commit in smpeg/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 30 21:19:11 UTC 2017


    Date: Thursday, March 30, 2017 @ 21:19:11
  Author: heftig
Revision: 291928

0.4.5-3

Modified:
  smpeg/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-30 21:16:55 UTC (rev 291927)
+++ PKGBUILD	2017-03-30 21:19:11 UTC (rev 291928)
@@ -5,20 +5,25 @@
 
 pkgname=smpeg
 pkgver=0.4.5
-pkgrel=2
+pkgrel=3
 pkgdesc="SDL MPEG Player Library"
-arch=('i686' 'x86_64')
-url="http://icculus.org/smpeg/"
-license=('LGPL')
-depends=('sdl')
-makedepends=('mesa' 'glu' 'subversion')
+arch=(i686 x86_64)
+url="https://icculus.org/smpeg/"
+license=(LGPL)
+depends=(sdl)
+makedepends=(mesa glu subversion)
 optdepends=('glu: to use glmovie')
 source=("$pkgname-$pkgver::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
-md5sums=('SKIP')
+sha256sums=('SKIP')
 
+prepare() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+}
+
 build() {
   cd $pkgname-$pkgver
-  ./autogen.sh
+  CFLAGS+=" -Wno-error=narrowing"
   ./configure --prefix=/usr --mandir=/usr/share/man --disable-static
   make
 }


More information about the arch-commits mailing list