blob: 3fe2ab5d0f8a3413eac9c765c5de1b64f7a498ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Lars Boettcher <lars@newyew.de>
# Maintainer: Aaron Ali <t0nedef@causal.ca>
pkgname=klayout
pkgver=0.25.9
pkgrel=1
pkgdesc="High Performance Layout Viewer And Editor. Support of GDS and OASIS files."
arch=('i686' 'x86_64')
url="http://www.klayout.org/"
license=('GPL')
depends=('qt5-base' 'qt5-tools' 'qt5-multimedia' 'qt5-xmlpatterns' 'qt5-svg' 'ruby' 'python')
source=(
http://www.klayout.org/downloads/source/klayout-${pkgver}.tar.gz
klayoutEditor.desktop
klayoutViewer.desktop
)
#noextract=("klayout-${pkgver}.tar.gz")
#prepare() {
# mkdir klayout-${pkgver}
# bsdtar -C klayout-${pkgver} -xf klayout-${pkgver}.tar.gz
#}
build() {
cd "$srcdir/klayout-${pkgver}"
build_opt="-qmake /usr/bin/qmake
-ruby /usr/bin/ruby
-python /usr/bin/python"
./build.sh $build_opt
}
package() {
cd "$srcdir"
install -D -m 644 klayoutEditor.desktop ${pkgdir}/usr/share/applications/klayoutEditor.desktop
install -D -m 644 klayoutViewer.desktop ${pkgdir}/usr/share/applications/klayoutViewer.desktop
cd klayout-${pkgver}
install -D -m 644 etc/logo.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/klayout.png
install -D -m 755 build-release/klayout ${pkgdir}/usr/bin/klayout
cd bin-release
for lib in `find . -type f | grep so`; do
install -D -m 755 $lib ${pkgdir}/usr/lib/$lib
done
for lib in `find . -type l | grep so`; do
cp -a $lib ${pkgdir}/usr/lib/$lib
done
}
#
md5sums=('bbead59360c6cdd5f569ab862b67fe60'
'e790f7fca3c1138e21068d7927fb8ff4'
'e6b98e9146c476a5cb76162999964aa8')
|