1 pkgname=ldraw-parts-library
4 pkgdesc="A collection of LDraw-format CAD files representing many of LEGO bricks produced"
6 url="http://www.ldraw.org/Article13.html"
8 install=ldraw-parts-library.install
9 source=(http://www.ldraw.org/library/updates/complete.zip \
10 ldraw-parts-library.sh \
12 md5sums=('8bd3685696f44ef2298ca7658cc2784d' '2acda6add7ed39994a710bd70aa96fc1'\
13 '9c453a67d9ea51795c1563427ef092f4')
16 cd ${startdir}/src/ldraw/
19 mkdir -p ${startdir}/pkg/usr/share/ldraw
20 mv p ${startdir}/pkg/usr/share/ldraw/p
21 mv parts ${startdir}/pkg/usr/share/ldraw/parts
24 find ${startdir}/pkg/usr/share/ldraw -type f -exec chmod 644 {} +
25 find ${startdir}/pkg/usr/share/ldraw -type d -exec chmod 755 {} +
27 # Install the Open Publication license
28 install -D -m644 ../license.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
30 install -D -m755 ../ldraw-parts-library.sh ${startdir}/pkg/etc/profile.d/ldraw-parts-library.sh