summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Knauer2015-05-31 21:05:04 +0200
committerRobert Knauer2015-05-31 21:05:04 +0200
commit5ccb9f95bbe29362c42642e1030ef34c654ec8b2 (patch)
tree0c1438323317f710e12157abab6937f127586537
downloadaur-5ccb9f95bbe29362c42642e1030ef34c654ec8b2.tar.gz
init
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD34
-rw-r--r--dayplanner.desktop9
-rw-r--r--dayplanner.install11
4 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ea18ad90659
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = dayplanner
+ pkgdesc = A simple time manager
+ pkgver = 0.11
+ pkgrel = 2
+ url = http://www.day-planner.org/
+ install = dayplanner.install
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = cpanminus
+ makedepends = perl-locale-gettext
+ depends = desktop-file-utils
+ depends = gtk2-perl
+ depends = perl-date-holidayparser
+ optdepends = perl-gtk2-trayicon: system tray icon plugin
+ optdepends = perl-locale-gettext: internationalization
+ optdepends = perl-io-socket-ssl: synchronization
+ source = https://github.com/downloads/zerodogg/dayplanner/dayplanner-0.11.tar.bz2
+ source = dayplanner.desktop
+ sha256sums = 41ea26b13ad31938c6fdff98bfa8830cac286f2e73cef7920f9897616e6483c4
+ sha256sums = 275d517022ca10f9db18915a4879b55909a3ed11acf7fea5154250cccf502048
+
+pkgname = dayplanner
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3791069eb2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Robert Knauer <robert@privatdemail.net>
+# Contributor: TDY <tdy@gmx.com>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=dayplanner
+pkgver=0.11
+pkgrel=2
+pkgdesc="A simple time manager"
+arch=('i686' 'x86_64')
+url="http://www.day-planner.org/"
+license=('GPL3')
+depends=('desktop-file-utils' 'gtk2-perl' 'perl-date-holidayparser')
+optdepends=(
+ 'perl-gtk2-trayicon: system tray icon plugin'
+ 'perl-locale-gettext: internationalization'
+ 'perl-io-socket-ssl: synchronization'
+)
+makedepends=('cpanminus' 'perl-locale-gettext')
+install="${pkgname}.install"
+source=(
+ "https://github.com/downloads/zerodogg/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ "${pkgname}.desktop"
+)
+sha256sums=(
+ '41ea26b13ad31938c6fdff98bfa8830cac286f2e73cef7920f9897616e6483c4'
+ '275d517022ca10f9db18915a4879b55909a3ed11acf7fea5154250cccf502048'
+)
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix="/usr" DESTDIR="${pkgdir}" install
+ install -Dm644 "../${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+}
diff --git a/dayplanner.desktop b/dayplanner.desktop
new file mode 100644
index 00000000000..05141e64c6f
--- /dev/null
+++ b/dayplanner.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Day Planner
+Comment=A simple time manager
+TryExec=/usr/bin/dayplanner
+Exec=dayplanner
+Icon=dayplanner
+Categories=Office;ProjectManagement;
diff --git a/dayplanner.install b/dayplanner.install
new file mode 100644
index 00000000000..2eaa60550d5
--- /dev/null
+++ b/dayplanner.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}