Fix deadd package
This commit is contained in:
parent
dbf9e7ba5c
commit
2e8ca0c441
1
x11-misc/deadd-notification-center-bin/Manifest
Normal file
1
x11-misc/deadd-notification-center-bin/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST 2.1.1.tar.gz 5536714 BLAKE2B 3e62764808e7cd06f7302176e717d0315e9493a0ac3bb62fbc945fa0884e3eed0d5ec8edd259488a5c442c095d075763438e2f873c2dde28bd3257e94ab08564 SHA512 752f4a31aaa7afc7e75e17c82042625865b67a0cfd65f7e07250539cfd41fb3bfdd9917ab5da614aeb80f7b173ac091997416e3325ec4b9b3bba21bf2d877cda
|
@ -5,22 +5,40 @@ EAPI=8
|
|||||||
|
|
||||||
DESCRIPTION="A notification daemon and center"
|
DESCRIPTION="A notification daemon and center"
|
||||||
HOMEPAGE="https://github.com/phuhl/linux_notification_center"
|
HOMEPAGE="https://github.com/phuhl/linux_notification_center"
|
||||||
|
SRC_URI="https://github.com/phuhl/linux_notification_center/archive/refs/tags/${PV}.tar.gz"
|
||||||
|
|
||||||
LICENSE="BSD"
|
LICENSE="BSD"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64"
|
KEYWORDS="amd64"
|
||||||
|
|
||||||
S=${WORKDIR}
|
S=${WORKDIR}/linux_notification_center-${PV}
|
||||||
|
|
||||||
|
IUSE="systemd dbus"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
|
dev-libs/gobject-introspection
|
||||||
|
gui-libs/gtk
|
||||||
net-misc/wget
|
net-misc/wget
|
||||||
"
|
"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
cd ${S}
|
cd ${WORKDIR}
|
||||||
wget https://github.com/phuhl/linux_notification_center/releases/download/${PV}/deadd-notification-center
|
wget https://github.com/phuhl/linux_notification_center/releases/download/${PV}/deadd-notification-center
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_prepare() {
|
||||||
dobin deadd-notification-center
|
eapply_user
|
||||||
|
mkdir -p ${S}/.out
|
||||||
|
mv ${WORKDIR}/deadd-notification-center ${S}/.out/deadd-notification-center
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Skipping compile step"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use systemd && use dbus ; then
|
||||||
|
make service || die "make service failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
make DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "make install failed"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user