1 # Maintainer: Christian Hesse <mail@eworm.de>
2 # Contributor: mickele <mimocciola at yahoo dot com> (librecad-git PKGBUILD)
3 # Contributor: Ilmari Repo <ilmari at gmail dot com> (librecad-svn PKGBUILD)
4 # Contributor: GazJ Gary James <garyjames82 at gmail dot com> (CADuntu PKGBUILD)
10 pkgdesc="A 2D CAD drawing tool based on the community edition of QCad."
11 arch=('i686' 'x86_64')
12 url="http://www.librecad.org/"
14 depends=('qt' 'boost')
15 conflicts=('librecad-git')
16 replaces=('librecad-svn' 'caduntu' 'caduntu-svn')
17 source=("${pkgname}-${pkgver}.zip::https://nodeload.github.com/LibreCAD/LibreCAD/zipball/v${pkgver}"
21 cd "${srcdir}/LibreCAD-LibreCAD-${_pkgtag}"
27 cd "${srcdir}/LibreCAD-LibreCAD-${_pkgtag}"
28 install -D -m 755 unix/librecad ${pkgdir}/usr/bin/librecad
29 install -D -m 644 "${srcdir}/librecad.desktop" "${pkgdir}/usr/share/applications/librecad.desktop"
30 install -D -m 644 res/main/librecad.png "${pkgdir}/usr/share/pixmaps/librecad.png"
31 mkdir -p "${pkgdir}/usr/share/librecad/"
32 cp -r unix/resources/{library,patterns,fonts,qm} "${pkgdir}/usr/share/librecad/"
34 md5sums=('30932a03de3b20fb6b0fd40102244ae9'
35 '19dcb83a3fcdb3752439095b118ac6d3')