diff options
author | Rhinoceros | 2015-06-09 08:29:15 +1000 |
---|---|---|
committer | Rhinoceros | 2015-06-09 08:29:15 +1000 |
commit | 2da04a4a1f74002deacb57df37220abe036f3142 (patch) | |
tree | 08f655e6552061abef4fad934c177371cc2e3b9b | |
download | aur-2da04a4a1f74002deacb57df37220abe036f3142.tar.gz |
Initial commit of 3.0.0-1
* Modified version of kalu, with --enable-status-notifier for KDE, and
corresponding dependency on statusnotifier.
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | kalu.install | 14 |
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..14ce2e5bf647 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = kalu-kde + pkgdesc = Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE's panel + pkgver = 3.0.0 + pkgrel = 1 + url = http://jjacky.com/kalu + install = kalu.install + arch = i686 + arch = x86_64 + license = GPL3+ + makedepends = perl + makedepends = groff + depends = dbus + depends = polkit + depends = gtk3 + depends = pacman>=4.2 + depends = pacman<4.3 + depends = curl + depends = libnotify + depends = notification-daemon + depends = statusnotifier + provides = kalu + conflicts = kalu + source = http://jjacky.com/kalu/kalu-3.0.0.tar.gz + sha1sums = 26ef0abb23d4590c3b851d6f61f4063e84e181f3 + +pkgname = kalu-kde + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..05ea8d1dfe8e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros> +# Contributor: jjacky + +pkgname=kalu-kde +_pkgname_orig=kalu +pkgver=3.0.0 +pkgrel=1 +pkgdesc="Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE's panel" +arch=('i686' 'x86_64') +url="http://jjacky.com/kalu" +license=('GPL3+') +depends=('dbus' 'polkit' 'gtk3' 'pacman>=4.2' 'pacman<4.3' 'curl' 'libnotify' + 'notification-daemon' 'statusnotifier') +makedepends=('perl' 'groff') +source=(http://jjacky.com/$_pkgname_orig/$_pkgname_orig-$pkgver.tar.gz) +install=kalu.install +sha1sums=('26ef0abb23d4590c3b851d6f61f4063e84e181f3') +provides=($_pkgname_orig) +conflicts=($_pkgname_orig) + +build() { + cd "$srcdir/$_pkgname_orig-$pkgver" + ./configure --prefix=/usr --enable-status-notifier + make +} + +package() { + cd "$srcdir/$_pkgname_orig-$pkgver" + make DESTDIR="$pkgdir/" install + chmod 700 "$pkgdir/usr/share/polkit-1/rules.d" + chown 102 "$pkgdir/usr/share/polkit-1/rules.d" +} + +# vim:set ts=2 sw=2 et: diff --git a/kalu.install b/kalu.install new file mode 100644 index 000000000000..4e86fe6bce1f --- /dev/null +++ b/kalu.install @@ -0,0 +1,14 @@ +post_install() { + /usr/bin/getent group kalu >/dev/null 2>&1 || usr/sbin/groupadd -g 214 kalu &>/dev/null + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + if /usr/bin/getent group kalu >/dev/null 2>&1; then + /usr/sbin/groupdel kalu + fi +} |