-
-
Save dottorblaster/4545687 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment