diff --git a/kdeplasma-applets-usu-notifications/PKGBUILD b/kdeplasma-applets-usu-notifications/PKGBUILD new file mode 100644 index 0000000..d7c58e5 --- /dev/null +++ b/kdeplasma-applets-usu-notifications/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Evgeniy "arcanis" Alexeev + +pkgname=kdeplasma-applets-usu-notifications +_pkgname=usu-notifications +pkgver=0.1.3 +pkgrel=1 +pkgdesc="lternative KDE notifications, based on QML and org.kde.notofications, but with more features" +arch=('any') +url="http://learnfree.eu/" +license=('GPL') +depends=('kdebase-workspace') +makedepends=('unzip') +source=(http://kde-look.org/CONTENT/content-files/158063-${_pkgname}.plasmoid) +install=${pkgname}.install +md5sums=('70b3cb22f8f93613ce9952c31fd40592') + +package() { + cd "${srcdir}" + + mkdir -p "${pkgdir}/usr/share/apps/plasma/plasmoids/${_pkgname}" + cp -r "${srcdir}/"{contents,platformcontents,metadata.desktop} \ + "${pkgdir}/usr/share/apps/plasma/plasmoids/${_pkgname}/" + install -Dm644 "${srcdir}/metadata.desktop" \ + "${pkgdir}/`kde4-config --prefix`/share/kde4/services/${_pkgname}.desktop" +} diff --git a/kdeplasma-applets-usu-notifications/kdeplasma-applets-usu-notifications.install b/kdeplasma-applets-usu-notifications/kdeplasma-applets-usu-notifications.install new file mode 100644 index 0000000..3c470e5 --- /dev/null +++ b/kdeplasma-applets-usu-notifications/kdeplasma-applets-usu-notifications.install @@ -0,0 +1,14 @@ +post_install() { + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}