mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 09:17:16 +08:00
add sentinella
This commit is contained in:
parent
fee6cbca19
commit
fb96e05edb
25
sentinella/PKGBUILD
Normal file
25
sentinella/PKGBUILD
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=sentinella
|
||||
pkgver=0.7.3
|
||||
pkgrel=1
|
||||
pkgdesc="Desktop application that watches your system activity and, in consequence, takes an action that you've chosen."
|
||||
url="http://sentinella.sourceforge.net/"
|
||||
license=('GPL')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('oxygen-icons' 'libsysactivity' 'kdebase-workspace')
|
||||
makedepends=('cmake' 'hicolor-icon-theme' 'automoc4')
|
||||
install=('sentinella.install')
|
||||
source=(http://downloads.sourceforge.net/${pkgname}/Sentinella-${pkgver}.tar.gz)
|
||||
md5sums=('a3280608195ddee46308f635ebf404bd')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/Sentinella-${pkgver}
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
|
||||
make
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
11
sentinella/sentinella.install
Normal file
11
sentinella/sentinella.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user