summaryrefslogtreecommitdiff
path: root/community/ming/PKGBUILD
blob: 2037b0efea613b98cd1887f26d07747071e1887d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Connor Behan <connor.behan@gmail.com>
# Contributor: mar77i <mysatyre at gmail dot com>

pkgname=ming
pkgver=0.4.5
pkgrel=1
pkgdesc="SWF output library"
arch=('i686' 'x86_64' 'mips64el')
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=('73bcbcb837f3872ef1a936c539a2513c')

build() {
  cd "$srcdir"/$pkgname-$pkgver/
  LDFLAGS="${LDFLAGS/ -Wl,--as-needed/}"
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --enable-python
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver/
  make DESTDIR="$pkgdir" install
}