mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
36 lines
811 B
Bash
36 lines
811 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
|
||
|
pkgname=mmap
|
||
|
pkgver=0.0.9
|
||
|
pkgrel=3
|
||
|
pkgdesc="A GTK2 map viewer"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://sourceforge.jp/projects/mmap"
|
||
|
license=('GPL')
|
||
|
depends=('gtkglext' 'libxmu' 'mesa')
|
||
|
optdepends=('lha' 'curl' 'p7zip')
|
||
|
source=(http://downloads.sourceforge.jp/mmap/20600/mmap-$pkgver.tar.gz)
|
||
|
md5sums=('d3666637e89dd71541ea09d57001a493')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/mmap-$pkgver
|
||
|
|
||
|
patch -p0 configure.in <<EOF
|
||
|
22,27d21
|
||
|
< AC_PATH_PROG(LHA, lha,:)
|
||
|
< if test \$LHA = ":"; then
|
||
|
< AC_MSG_ERROR([lha not found. Please install.])
|
||
|
< fi
|
||
|
<
|
||
|
<
|
||
|
EOF
|
||
|
|
||
|
autoreconf
|
||
|
./configure --prefix=/usr --disable-dependency-tracking
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install || return 1
|
||
|
|
||
|
rm -r $startdir/pkg/usr/local
|
||
|
}
|