1 # Maintainer: Jose Valecillos <valecillosjg (at) gmail (dot) com>
5 pkgdesc="XAMPP is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages"
6 url="http://www.apachefriends.org"
9 [ "$CARCH" = "x86_64" ] && depends=('lib32-glibc' 'gcc-libs-multilib')
10 source=(http://downloads.sourceforge.net/xampp/$pkgname-linux-$pkgver.tar.gz)
11 install=${pkgname}.install
13 noextract=($pkgname-linux-$pkgver.tar.gz)
14 md5sums=('7af1942fb5df3e03dea34fa221b65b2a')
20 tar xvfz $pkgname-linux-$pkgver.tar.gz -C $pkgdir/opt
21 #chmod g-s -R $pkgdir/opt/lammp
23 mkdir -p $startdir/pkg/usr/share/licenses/xampp
24 mv $startdir/pkg/opt/lampp/licenses/* $startdir/pkg/usr/share/licenses/xampp
26 mkdir -p $pkgdir/usr/bin
27 ln -sf /opt/lampp/lampp $pkgdir/usr/bin/xampp
28 ln -sf /opt/lampp/lampp $pkgdir/usr/bin/lampp