added usu notifications

This commit is contained in:
arcan1s 2014-01-23 10:40:18 +04:00
parent e58f0c7aa7
commit b738c613b4
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
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"
}

View File

@ -0,0 +1,14 @@
post_install() {
cat << EOF
Update plasmoids...
EOF
kbuildsycoca4 > /dev/null 2>&1
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}