mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
leocad: imported as FS1921
This commit is contained in:
parent
7360f38eb3
commit
3dc9a13384
30
leocad/PKGBUILD
Normal file
30
leocad/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user