gir1.2-cmenu-3.0.install based on gir libdir
gobject-introspection-1.0 >= 1.41.4-1 require library in multiarch path
With this change should works on both older and new package.
Fabio Fantoni
9 years ago
debian/gir1.2-cmenu-3.0.install
less
more
0 | |
usr/lib/girepository-1.0
|
|
0 |
TYPELIBDIR/girepository-1.0
|
1 | 1 |
|
2 | 2 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
3 | 3 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
4 |
TYPELIBDIR=$(shell pkg-config gobject-introspection-1.0 --variable libdir | sed -e 's/.//')
|
4 | 5 |
|
5 | 6 |
%:
|
6 | 7 |
dh $@ --parallel --with=autoreconf,python3
|
|
9 | 10 |
dh_strip --dbg-package=libcinnamon-menu-3-0-dbg
|
10 | 11 |
|
11 | 12 |
override_dh_install:
|
|
13 |
sed 's@TYPELIBDIR@${TYPELIBDIR}@' debian/gir1.2-cmenu-3.0.install.in > debian/gir1.2-cmenu-3.0.install
|
12 | 14 |
dh_install --list-missing
|
13 | 15 |
|
14 | 16 |
override_dh_auto_clean:
|