summaryrefslogtreecommitdiff
path: root/community/tuxcards
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/tuxcards
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/tuxcards')
-rw-r--r--community/tuxcards/PKGBUILD32
-rw-r--r--community/tuxcards/tuxcards.desktop10
2 files changed, 42 insertions, 0 deletions
diff --git a/community/tuxcards/PKGBUILD b/community/tuxcards/PKGBUILD
new file mode 100644
index 000000000..a1b93dd03
--- /dev/null
+++ b/community/tuxcards/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 85419 2013-03-01 10:41:30Z andrea $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=tuxcards
+pkgver=2.2.1
+pkgrel=3
+pkgdesc="A hierarchical notebook to enter and manage notes and ideas in a structured manner"
+arch=('i686' 'x86_64')
+url="http://www.tuxcards.de"
+license=('GPL')
+depends=('qt4')
+source=(http://www.tuxcards.de/src/tuxcards-${pkgver}/${pkgname}-${pkgver}.tar.gz tuxcards.desktop)
+sha1sums=('c0410f28b51d58b4f372ffae0ce0d2a7329f2c45'
+ '565419ac6b24d61fc038462a783cb80d44b4fe7e')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ sed -i 's|/usr/local/doc/tuxcards/flowers/|/usr/share/tuxcards/flowers/|' src/CTuxCardsConfiguration.cpp
+ qmake tuxcards.pro
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ install -D -m755 tuxcards "${pkgdir}/usr/bin/tuxcards"
+ install -D -m644 src/icons/lo16-app-tuxcards.png "${pkgdir}/usr/share/icons/locolor/16x16/apps/tuxcards.png"
+ install -D -m644 src/icons/lo32-app-tuxcards.png "${pkgdir}/usr/share/icons/locolor/32x32/apps/tuxcards.png"
+ install -D -m644 "${srcdir}/tuxcards.desktop" "${pkgdir}/usr/share/applications/tuxcards.desktop"
+ install -D -m644 src/translations/tuxcards_de.qm "${pkgdir}/usr/share/tuxcards/i18/tuxcards_de.qm"
+ install -d "${pkgdir}/usr/share/tuxcards/flowers/"
+ install -m644 src/gui/cactusbar/flowers/*.gif "${pkgdir}/usr/share/tuxcards/flowers/"
+}
diff --git a/community/tuxcards/tuxcards.desktop b/community/tuxcards/tuxcards.desktop
new file mode 100644
index 000000000..9fac1c10a
--- /dev/null
+++ b/community/tuxcards/tuxcards.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Tuxcards
+Comment=Manage notes and ideas in tree structures
+Icon=/usr/share/icons/locolor/32x32/apps/tuxcards.png
+Exec=tuxcards
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Application;Office;Utility
+Encoding=UTF-8