From 59605518afca879e2496c1dab496d30c8276f15e Mon Sep 17 00:00:00 2001 From: xpamych Date: Fri, 21 Apr 2023 13:27:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20pass-expire-notify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pass-expire-notify/lure.sh | 24 +++++++++++++++++++ pass-expire-notify/pass-expire-notify.desktop | 5 ++++ 2 files changed, 29 insertions(+) create mode 100644 pass-expire-notify/lure.sh create mode 100644 pass-expire-notify/pass-expire-notify.desktop diff --git a/pass-expire-notify/lure.sh b/pass-expire-notify/lure.sh new file mode 100644 index 0000000..fc50a6b --- /dev/null +++ b/pass-expire-notify/lure.sh @@ -0,0 +1,24 @@ +name='pass-expire-notify' +version='1' +release='1' +desc='Скрипт для проверки и уведомления об истечении пароля доменной УЗ' +homepage='https://gitflic.ru/project/xpamych/pass-expire-notify' +maintainer="Евгений Храмов " +architectures=('amd64') +license=('MIT') +provides=('pass-expire-notify') +conflicts=('pass-expire-notify') +deps=('samba-client') + + +sources=("https://gitflic.ru/project/xpamych/pass-expire-notify.git") +checksums=('SKIP') + +prepare() { + cd "${srcdir}/pass-expire-notify" +} + +package() { + install -Dm755 "${srcdir}/pass-expire-notify" "${pkgdir}/usr/bin/pass-expire-notify" + install -Dm644 "${scriptdir}/pass-expire-notify.desktop" "${pkgdir}/etc/xdg/autostart/pass-expire-notify.desktop" +} diff --git a/pass-expire-notify/pass-expire-notify.desktop b/pass-expire-notify/pass-expire-notify.desktop new file mode 100644 index 0000000..0723294 --- /dev/null +++ b/pass-expire-notify/pass-expire-notify.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Type=Application +Name=pass-expire-notify +NoDisplay=true +Exec=/usr/bin/pass-expire-notify.sh \ No newline at end of file