blob: b846b1dd89af07dd4d2938f3199cfd37d07c0132 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_deb", "pkg_tar")
pkg_tar(
name = "cros-notificationd-dbus-service-files",
srcs = ["org.freedesktop.Notifications.service"],
mode = "0644",
package_dir = "/usr/share/dbus-1/services/",
strip_prefix = "/cros-notificationd",
)
pkg_tar(
name = "cros-notificationd-systemd-service-files",
srcs = ["cros-notificationd.service"],
mode = "0644",
package_dir = "/usr/lib/systemd/user/",
strip_prefix = "/cros-notificationd",
)
pkg_tar(
name = "debian-data",
extension = "tar.gz",
deps = [
":cros-notificationd-dbus-service-files",
":cros-notificationd-systemd-service-files",
],
)
pkg_deb(
name = "deb",
architecture = "all",
data = ":debian-data",
description_file = "deb-description",
homepage = "https://chromium.googlesource.com/chromiumos/docs/+/HEAD/containers_and_vms.md",
maintainer = "The Chromium OS Authors <chromium-os-dev@chromium.org>",
package = "cros-notificationd",
section = "misc",
version = "0.2",
visibility = ["//cros-debs:__pkg__"],
)