desktop/leocad/PKGBUILD
2017-04-03 23:08:32 +02:00

31 lines
839 B
Bash

pkgname=leocad
pkgver=17.02
pkgrel=1
pkgdesc="A CAD program for creating virtual LEGO models"
arch=('x86_64')
url="http://leocad.org"
license=('GPL')
depends=('qt5-base' 'hicolor-icon-theme')
makedepends=('qt5-tools')
_libver=9781
source=("$pkgname-$pkgver.tar.gz::https://github.com/leozide/leocad/archive/v$pkgver.tar.gz"
"https://github.com/leozide/leocad/releases/download/v$pkgver/Library-Linux-$_libver.zip")
sha256sums=('5d3d00a559dc74aed4b2605a8e0ab30722b34267102c57d34d9f0c9f5369df25'
'e3af3ca4eb1ba1c4ee820343876a8be5f8c39bf69c51400a1db176a188f780a8')
build() {
cd $pkgname-$pkgver
qmake-qt5 \
INSTALL_PREFIX=/usr \
DISABLE_UPDATE_CHECK=1
make
}
package() {
cd $pkgname-$pkgver
make INSTALL_ROOT="$pkgdir" install
install -Dm644 ../library.bin "$pkgdir"/usr/share/leocad/library.bin
}