summaryrefslogtreecommitdiff
path: root/community/ming
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ming
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ming')
-rw-r--r--community/ming/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/ming/PKGBUILD b/community/ming/PKGBUILD
new file mode 100644
index 000000000..423865a86
--- /dev/null
+++ b/community/ming/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Connor Behan <connor.behan@gmail.com>
+# Contributor: mar77i <mysatyre at gmail dot com>
+
+pkgname=ming
+pkgver=0.4.4
+pkgrel=2
+pkgdesc="SWF output library"
+arch=('i686' 'x86_64')
+url="http://www.libming.net/"
+license=('GPL' 'LGPL')
+depends=('freetype2' 'libpng' 'flex')
+makedepends=('bison' 'pkg-config' 'python2')
+options=('!libtool' '!emptydirs')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('9e780f93670eaf68b1eefa6cdfc1d1e2')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver/
+ sed -i -e 's/ifndef HAVE_VASPRINTF/ifdef HAVE_VASPRINTF/' util/decompile.c util/makeswf.c
+ LDFLAGS="${LDFLAGS/ -Wl,--as-needed/}"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --enable-python
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver/
+ make DESTDIR="$pkgdir" install
+}