public
anonymous / stdin.txt
Last active

stdin

  • Download Gist
stdin.txt
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 29 30 31
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
 
pkgname=leocad
pkgver=0.79.1
_piecesver=7114
pkgrel=3
pkgdesc="LeoCAD is a CAD program that uses bricks similar to those found in many toys (but they don't represent any particular brand)."
arch=(i686, x86_64)
url="http://leocad.gerf.org/"
license=('GPL')
depends=('zlib' 'libjpeg' 'libpng' 'gtk2' 'mesa')
install=${pkgname}.install
source=("http://leocad.googlecode.com/files/${pkgname}-${pkgver}-src.tgz" "http://leocad.googlecode.com/files/pieces-${_piecesver}.zip")
md5sums=('d3d3e7fe8b219e7c02602db4ddbcbaf1'
'5be3590d960c546edf1d4dcb72dba7c1')
 
build() {
msg "Building LeoCAD"
mkdir -p ${pkgdir}/usr/lib/pieces/
cd ${srcdir}/${pkgname}/linux
LDLIBS="-X11" make
}
 
package(){
cd ${srcdir}/${pkgname}
make DESTDIR=${pkgdir} install
msg "Installing libraries"
install -Dm644 ${srcdir}/*.bin ${pkgdir}/usr/lib/pieces/
install -Dm644 ${srcdir}/*.idx ${pkgdir}/usr/lib/pieces/
install -Dm644 ${srcdir}/*.txf ${pkgdir}/usr/lib/pieces/
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.