Commit c7e78a04 authored by Daniele Cocca's avatar Daniele Cocca

Adding a previously missing dependency for speed-dreams-data.

parent 4046c39a
......@@ -13,18 +13,17 @@ arch=('any')
url="http://speed-dreams.sourceforge.net/"
license=('GPL2')
depends=()
makedepends=('enet' 'freealut' 'freeglut' 'libpng' 'libxmu' 'libxrandr'
'plib>=1.8.3' 'libjpeg' 'zlib')
source=("http://sourceforge.net/projects/$_pkgname/files/$pkgver/$_pkgname-$_pkgver-src.tar.bz2/download")
makedepends=('enet' 'freealut' 'freeglut' 'libpng' 'libxmu' 'libxrandr' 'libxrender' 'plib>=1.8.3' 'libjpeg' 'zlib')
source=("http://sourceforge.net/projects/${_pkgname}/files/${pkgver}/${_pkgname}-${_pkgver}-src.tar.bz2/download")
md5sums=('92c324c2c47a598dea9278d9a66c5b78')
build() {
cd $srcdir/$_pkgname-$pkgver-src
cd "${srcdir}/${_pkgname}-${pkgver}-src"
unset LDFLAGS MAKEFLAGS
./configure \
--prefix=/usr/share/$_pkgname \
--prefix="/usr/share/${_pkgname}" \
--x-includes=/usr/include \
--x-libraries=/usr/lib
......@@ -32,11 +31,13 @@ build() {
}
package() {
cd $srcdir/$_pkgname-$pkgver-src
cd "${srcdir}/${_pkgname}-${pkgver}-src"
make DESTDIR=$pkgdir/ install datainstall
make DESTDIR="${pkgdir}" install datainstall
rm -r $pkgdir/usr/share/$_pkgname/bin
rm -r $pkgdir/usr/share/$_pkgname/lib
find $pkgdir/ -type d -exec chmod 755 {} \;
rm -r "${pkgdir}/usr/share/${_pkgname}/bin"
rm -r "${pkgdir}/usr/share/${_pkgname}/lib"
find "${pkgdir}" -type d -exec chmod 755 {} \;
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment