debian: Modernize packaging.
Boyuan Yang
5 years ago
0 | 0 |
Source: fcitx-sayura
|
1 | 1 |
Section: utils
|
2 | 2 |
Priority: optional
|
3 | |
Maintainer: IME Packaging Team <pkg-ime-devel@lists.alioth.debian.org>
|
|
3 |
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
|
4 | 4 |
Uploaders:
|
5 | 5 |
Aron Xu <aron@debian.org>,
|
6 | |
YunQiang Su <wzssyqa@gmail.com>,
|
|
6 |
YunQiang Su <syq@debian.org>,
|
7 | 7 |
Eleanor Chen <chenyueg@gmail.com>,
|
8 | 8 |
Build-Depends:
|
9 | 9 |
cmake,
|
10 | |
debhelper (>= 9),
|
|
10 |
debhelper (>= 11),
|
11 | 11 |
fcitx-bin (>= 1:4.2.8),
|
12 | 12 |
fcitx-libs-dev (>= 1:4.2.8),
|
13 | 13 |
intltool,
|
14 | 14 |
pkg-config,
|
15 | |
Standards-Version: 4.1.0
|
16 | |
Homepage: https://github.com/fcitx/fcitx-sayura
|
17 | |
Vcs-Git: https://anonscm.debian.org/git/pkg-ime/fcitx-sayura.git
|
18 | |
Vcs-Browser: https://anonscm.debian.org/git/pkg-ime/fcitx-sayura.git
|
|
15 |
Standards-Version: 4.2.1
|
|
16 |
Homepage: https://gitlab.com/fcitx/fcitx-sayura
|
|
17 |
Vcs-Git: https://salsa.debian.org/input-method-team/fcitx-sayura.git
|
|
18 |
Vcs-Browser: https://salsa.debian.org/input-method-team/fcitx-sayura
|
19 | 19 |
|
20 | 20 |
Package: fcitx-sayura
|
21 | 21 |
Architecture: any
|
0 | 0 |
#!/usr/bin/make -f
|
1 | |
#export DH_VERBOSE = 1
|
|
1 |
# -*- makefile -*-
|
|
2 |
# Uncomment this to turn on verbose mode.
|
|
3 |
# export DH_VERBOSE=1
|
|
4 |
|
|
5 |
# see FEATURE AREAS in dpkg-buildflags(1)
|
2 | 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
3 | 7 |
|
4 | |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
8 |
# see ENVIRONMENT in dpkg-buildflags(1)
|
|
9 |
# package maintainers to append CFLAGS
|
|
10 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
|
11 |
# package maintainers to append LDFLAGS
|
|
12 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
|
13 |
|
|
14 |
include /usr/share/dpkg/architecture.mk
|
5 | 15 |
|
6 | 16 |
%:
|
7 | 17 |
dh $@
|
|
11 | 21 |
override_dh_auto_configure:
|
12 | 22 |
dh_auto_configure -- \
|
13 | 23 |
-DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)
|
|
24 |
|
|
25 |
override_dh_missing:
|
|
26 |
dh_missing --fail-missing
|