summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
-rw-r--r--bricscad-cn.install (renamed from bricscad.install)0
3 files changed, 16 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 35715ba7ca5f..cecca09cdd2d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgbase = bricscad-cn
pkgver = 22.1.06
pkgrel = 1
url = https://www.bricsys.com/
- install = bricscad.install
+ install = bricscad-cn.install
arch = x86_64
license = custom
depends = qt5-gamepad
@@ -16,9 +16,11 @@ pkgbase = bricscad-cn
depends = libxcrypt-compat
depends = glu
depends = libffi6
+ optdepends = bricscad-communicator>=22: Addtional import/export file format support
provides = bricscad
+ conflicts = bricscad
options = !strip
- source = manual://BricsCAD-V22.1.06-1-zh_CN.x86_64.rpm
- sha256sums = 74bdffb3ed421eb5e547f1641bafb0de9d5ac8add78c56e214f7f0973e16833a
+ source = manual://BricsCAD-V22.1.06-1-zh_CN-amd64.deb
+ sha256sums = 06a803e221840c94d7b22420fcc26926a27023280556b29f5f219272da1c836d
pkgname = bricscad-cn
diff --git a/PKGBUILD b/PKGBUILD
index d596576611df..9604eba4c4d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,17 +7,24 @@ pkgdesc="CAD Software for People Who Build the Future (Simplified Chinese)"
arch=('x86_64')
url='https://www.bricsys.com/'
license=('custom')
-depends=('qt5-gamepad' 'qt5-3d' 'qt5-wayland' 'qt5-serialport' 'qt5-location' 'openmotif' 'webkit2gtk' 'libxcrypt-compat' 'glu' 'libffi6')
+
provides=('bricscad')
+conflicts=('bricscad')
+depends=('qt5-gamepad' 'qt5-3d' 'qt5-wayland' 'qt5-serialport' 'qt5-location' 'openmotif' 'webkit2gtk' 'libxcrypt-compat' 'glu' 'libffi6')
+optdepends=('bricscad-communicator>=22: Addtional import/export file format support')
DLAGENTS+=('manual::/usr/bin/echo \ \ Note: Please download the package manually from the official website')
-source=("manual://BricsCAD-V${pkgver}-1-zh_CN.x86_64.rpm")
-sha256sums=('74bdffb3ed421eb5e547f1641bafb0de9d5ac8add78c56e214f7f0973e16833a')
+source=("manual://BricsCAD-V${pkgver}-1-zh_CN-amd64.deb")
+sha256sums=('06a803e221840c94d7b22420fcc26926a27023280556b29f5f219272da1c836d')
options=(!strip)
-install='bricscad.install'
+install='bricscad-cn.install'
prepare() {
+ tar -xpf data.tar.xz
+
+ find . -type d -exec chmod 755 {} \;
+
mkdir var/bricsys/{Components,RenderMaterials/UserMaterials}
chmod 777 var/bricsys/{Components,RenderMaterials/UserMaterials}
}
diff --git a/bricscad.install b/bricscad-cn.install
index 6e5ad3a5e0df..6e5ad3a5e0df 100644
--- a/bricscad.install
+++ b/bricscad-cn.install