Skip to content

Commit

Permalink
app-misc/devify: Elog message changed
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
  • Loading branch information
lima-limon-inc committed Sep 29, 2023
1 parent f0a3c93 commit 23b4da1
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions app-misc/devify/devify-1.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit udev

DESCRIPTION="Device notification system using udev rules for monitoring connections"
HOMEPAGE="https://github.com/pog102/devify"
# if [[ ${PV} == 9999 ]] ; then
# EGIT_REPO_URI="https://github.com/pog102/devify.git"
# EGIT_BRANCH="main"
# inherit git-r3
# else
SRC_URI="https://github.com/pog102/devify/archive/refs/tags/V${PV}.tar.gz"
# fi

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
x11-libs/libnotify
media-libs/libcanberra
"
RDEPEND="${DEPEND}"
BDEPEND=""

PATCHES=(
"${FILESDIR}/different-directories-makefile-1.patch"
"${FILESDIR}/different-directories-script-1.patch"
"${FILESDIR}/different-path.patch"
)

pkg_postinst() {
udev_reload
elog "Besides changing directory destinations, the ebuild also"
elog "changes one thing about the script: Instead of using"
elog "DBUS_SESSION_BUS_ADDRESS it uses DISPLAY."
elog "I was not able to make the script work in any other way. If it leads"
elog "to unintended behavior, make an issue on the lemon-lime-overlay:"
elog "https://github.com/lima-limon-inc/lemon-lime-overlay"
elog "Cheers!"
}

pkg_postrm() {
udev_reload
}

0 comments on commit 23b4da1

Please sign in to comment.