updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / magicpoint / PKGBUILD
blob0c6cd44e1fccb8571ce7d89258881f8aad6d5af0
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: forest76 <forestt@poczta.onet.pl>
5 pkgname=magicpoint
6 pkgver=1.13a
7 pkgrel=2
8 pkgdesc='X11 based presentation tool'
9 arch=('i686' 'x86_64')
10 url='http://member.wide.ad.jp/wg/mgp/'
11 depends=('libpng' 'libmng' 'giflib' 'libxmu' 'imlib' 'm17n-lib' 'libxft')
12 makedepends=('imake')
13 license=('custom')
14 source=("ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/magicpoint-$pkgver.tar.gz")
15 md5sums=('ebc403982956e918ab327c54a90b44e0')
17 build() {
18    cd $srcdir/$pkgname-$pkgver
20    ./configure --prefix=/usr \
21                --enable-imlib \
22                --enable-gif \
23                --enable-xft2 \
24                --with-x \
25                --with-m17n-lib \
26                --disable-freetype \
27                --x-libraries=/usr/lib \
28                --x-includes=/usr/include || return 1
29    xmkmf || return 1
30    make Makefiles || return 1
31    make  || return 1
32    make DESTDIR=$pkgdir MANPATH=/usr/share/man install install.man
34    # install licence
35    install -v -D -m644 $srcdir/$pkgname-$pkgver/COPYRIGHT \
36      $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1