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

Connor Behan cbehan at archlinux.org
Thu Nov 12 20:34:44 UTC 2015


    Date: Thursday, November 12, 2015 @ 21:34:43
  Author: cbehan
Revision: 146652

upgpkg: ming 0.4.7-1

Update to 0.4.7-1

Modified:
  ming/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-12 20:10:57 UTC (rev 146651)
+++ PKGBUILD	2015-11-12 20:34:43 UTC (rev 146652)
@@ -2,27 +2,33 @@
 # Contributor: mar77i <mysatyre at gmail dot com>
 
 pkgname=ming
-pkgver=0.4.5
-pkgrel=2
+pkgver=0.4.7
+pkgrel=1
 pkgdesc="SWF output library"
 arch=('i686' 'x86_64')
 url="http://www.libming.net/"
 license=('GPL' 'LGPL')
-depends=('freetype2' 'libpng' 'flex')
+depends=('freetype2' 'libpng' 'flex' 'giflib')
 makedepends=('bison' 'pkg-config' 'python2')
 options=('!emptydirs')
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('73bcbcb837f3872ef1a936c539a2513c')
+source=(https://github.com/libming/libming/archive/${pkgname}-${pkgver//./_}.tar.gz)
+md5sums=('dbb71ae5bc131a609fbfe2005bc095cc')
 
 build() {
-  cd "$srcdir"/$pkgname-$pkgver/
-  LDFLAGS="${LDFLAGS/ -Wl,--as-needed/}"
+  cd "$srcdir"/libming-${pkgname}-${pkgver//./_}/
+  ./autogen.sh
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --enable-python
+
+  # Strange that this can fail when we let the Makefile do it
+  pushd src/actioncompiler
+  bison -y -p swf4 -b swf4compiler swf4compiler.y
+  bison -y -p swf5 -b swf5compiler swf5compiler.y
+  popd
   make
 }
 
 package() {
-  cd "$srcdir"/$pkgname-$pkgver/
+  cd "$srcdir"/libming-${pkgname}-${pkgver//./_}/
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list