blob: cda6b5b17a273d6a551896ec87576c8fde39d657 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $Id: PKGBUILD 67712 2012-03-14 07:57:27Z ebelanger $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=tuxcards
pkgver=2.2.1
pkgrel=2
pkgdesc="A hierarchical notebook to enter and manage notes and ideas in a structured manner"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.tuxcards.de"
license=('GPL')
depends=('qt')
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/"
}
|