PKGBUILDs/community/partlibrary/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
963 B
Bash

# Maintainer:Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Giovanni Scafora <linuxmania@gmail.com>
pkgname=partlibrary
pkgver=2.1.2.8
pkgrel=2
pkgdesc="Collection of CAD files that can be used from the library browser of QCad"
arch=('i686' 'x86_64')
url="http://www.ribbonsoft.com/qcad_library.html"
license=('GPL')
depends=('bash')
makedepends=('unzip')
install=partlibrary.install
source=(ftp://anonymous:anonymous@ribbonsoft.com/archives/$pkgname/$pkgname-2.1.2.8-1.tar.gz)
md5sums=('e1df98084317b13bfc193fecba9d6790')
build () {
cd $srcdir/$pkgname-2.1.2.8-1
install -d -m755 $pkgdir/usr/share/qcad/$pkgname || return 1
cp -r architecture electrical electronics mechanical \
misc processing templates zipf_libs \
$pkgdir/usr/share/qcad/$pkgname || return 1
chmod 644 \
$pkgdir/usr/share/qcad/$pkgname/mechanical/notches/{form_a.dxf,form_c.dxf}
chmod 755 $pkgdir/usr/share/qcad/$pkgname/mechanical/screws/chc || return 1
}