mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 15:58:56 -04:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v3
|
|
# $Header: $
|
|
|
|
EAPI="4"
|
|
|
|
inherit fdo-mime versionator eutils
|
|
|
|
DSS="deepin-system-settings"
|
|
MY_VER="$(get_version_component_range 1)+git$(get_version_component_range 2)~9f146c62a7"
|
|
SRC_URI="http://packages.linuxdeepin.com/deepin/pool/main/d/${DSS}/${DSS}_${MY_VER}.tar.gz"
|
|
|
|
DESCRIPTION="Deepin System Settings module for configuring keyboard"
|
|
HOMEPAGE="http://www.linuxdeepin.com"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
RDEPEND="dde-base/deepin-system-settings
|
|
dev-python/python-xklavier
|
|
dev-python/gconf-python
|
|
gnome-base/libgnomekbd"
|
|
DEPEND=""
|
|
S="${WORKDIR}/${DSS}-${MY_VER}/modules/keyboard"
|
|
|
|
src_install() {
|
|
|
|
insinto "/usr/share/${DSS}/modules/keyboard/src"
|
|
doins ${S}/src/*.py
|
|
|
|
insinto "/usr/share/${DSS}/modules/keyboard"
|
|
doins -r ${S}/locale ${S}/__init__.py ${S}/config.ini
|
|
|
|
rm ${D}/usr/share/${DSS}/modules/keyboard/locale/*.po*
|
|
fperms 0755 -R /usr/share/${DSS}/modules/keyboard/src/
|
|
|
|
}
|