From e0aaa77bb5601c8b62b9443f3f33c7e2c8f2b66a Mon Sep 17 00:00:00 2001 From: Aurelien Desbrieres Date: Mon, 15 Dec 2014 14:31:26 +0100 Subject: A fully-featured alarm clock for GNOME panel --- pcr/alarm-clock-applet/PKGBUILD | 28 +++++++++++++++++++++++ pcr/alarm-clock-applet/alarm-clock-applet.INSTALL | 11 +++++++++ 2 files changed, 39 insertions(+) create mode 100644 pcr/alarm-clock-applet/PKGBUILD create mode 100644 pcr/alarm-clock-applet/alarm-clock-applet.INSTALL (limited to 'pcr/alarm-clock-applet') diff --git a/pcr/alarm-clock-applet/PKGBUILD b/pcr/alarm-clock-applet/PKGBUILD new file mode 100644 index 000000000..a81f0c69c --- /dev/null +++ b/pcr/alarm-clock-applet/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer : Aurelien Desbrieres +# Contributor: Tobias Frilling +# Contributor: Ekenbrand +# Contributor: Alessandro Nakamuta + +pkgname=alarm-clock-applet +pkgver=0.3.3 +pkgrel=2 +pkgdesc="A fully-featured alarm clock for GNOME panel" +arch=('x86_64' 'i686') +url="http://alarm-clock.pseudoberries.com" +license=('GPL2') +depends=('gconf>=2.0' 'gnome-icon-theme' 'gstreamer0.10>=0.10.2' 'libnotify>=0.4.1' 'libunique>=1.0') +makedepends=('pkgconfig' 'intltool') +optdepends=('libappindicator: library to allow applications to export menus into the Unity Menu bar') +install=$pkgname.INSTALL +source=(http://launchpad.net/alarm-clock/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --with-gconf-schema-file-dir=/usr/share/gconf/schemas + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/alarm-clock-applet/alarm-clock-applet.INSTALL b/pcr/alarm-clock-applet/alarm-clock-applet.INSTALL new file mode 100644 index 000000000..e29dfa2c3 --- /dev/null +++ b/pcr/alarm-clock-applet/alarm-clock-applet.INSTALL @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache /usr/share/icons/hicolor/ +} + +post_upgrade(){ + gtk-update-icon-cache /usr/share/icons/hicolor/ +} + +post_remove(){ + gtk-update-icon-cache /usr/share/icons/hicolor/ +} -- cgit v1.2.3