app-misc/devify - 1.0 (lemon-lime)

Search

Package Information

Description:
Device notification system using udev rules for monitoring connections
Homepage:
https://github.com/pog102/devify
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.0 8 ~amd64 0
View Raw Ebuild
# 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"
RDEPEND="${DEPEND}"
BDEPEND=""

PATCHES=(
	"${FILESDIR}/different-directories-makefile.patch"
	"${FILESDIR}/different-directories-script.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 "Without it, it would not work in my machine. If it leads"
	elog "to unintended behavior, leave and issue on the lemon-lime-overlay"
	elog "Cheers!"
}

pkg_postrm() {
	udev_reload
}

Dependencies

DEPEND

x11-libs/libnotify

RDEPEND

x11-libs/libnotify

Manifest for 1.0

Type File Size Source URLs
DIST v1.0.tar.gz 52585 bytes https://github.com/pog102/devify/archive/refs/tags/v1.0.tar.gz