diff options
Diffstat (limited to 'community/tuxcards/PKGBUILD')
-rw-r--r-- | community/tuxcards/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/tuxcards/PKGBUILD b/community/tuxcards/PKGBUILD new file mode 100644 index 000000000..929269c6e --- /dev/null +++ b/community/tuxcards/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 27541 2010-09-25 02:00:20Z ebelanger $ +# Maintainer: Eric Belanger <eric@archlinux.org> + +pkgname=tuxcards +pkgver=2.2.1 +pkgrel=1 +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=('qt') +changelog=ChangeLog +source=(http://www.tuxcards.de/src/tuxcards-${pkgver}/${pkgname}-${pkgver}.tar.gz tuxcards.desktop) +md5sums=('e10630d0ce8038e75aeaef228e10e5d9' 'c6d9d6752b8e7affb733b0f9a46a176c') +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/" +} |