mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 15:37:18 +00:00
added usu notifications
This commit is contained in:
parent
e58f0c7aa7
commit
b738c613b4
25
kdeplasma-applets-usu-notifications/PKGBUILD
Normal file
25
kdeplasma-applets-usu-notifications/PKGBUILD
Normal 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"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
post_install() {
|
||||
cat << EOF
|
||||
Update plasmoids...
|
||||
EOF
|
||||
kbuildsycoca4 > /dev/null 2>&1
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user