updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / wink / PKGBUILD
blobc62d22202bee6865f998c3cb0de3b2b434c0658b
1 # Maintainer: Jose Riha < jose 1711 gmail com >
2 # Contributor: PaweÅ‚ (Smeagol) Bogut <aur(at)smg.int.pl>
4 pkgname=wink
5 pkgver=1.5
6 _pkgver=15
7 pkgrel=3
8 pkgdesc="Tutorial and Presentation creation software, primarily aimed at creating tutorials on how to use software."
9 arch=('i686')
10 url="http://www.debugmode.com/wink/"
11 license=('freeware')
12 depends=('libstdc++5' 'expat' 'gtk2')
13 source=(http://www.digital2b.com/mirror_${pkgname}/${pkgname}${_pkgver}.tar.gz wink.desktop wink.png)
14 md5sums=('be2d80bcf3fdfe1a403674d789aed9db'
15          'abaca8b0ab9d7dc6976bbc5428dee79f'
16          'cb73aa077a68e2b79b8190eee69e5fbd')
18 build() {
19 true
22 package() {
23   mkdir -p ${pkgdir}/usr/{share/wink,bin}
24   cd ${pkgdir}/usr/share/wink
25   tar xzf ${srcdir}/installdata.tar.gz
26   chown -R root:root ${pkgdir}/usr/share/wink
27   install -Dm644 ${srcdir}/wink.desktop ${pkgdir}/usr/share/applications/wink.desktop
28   install -Dm644 ${srcdir}/wink.png ${pkgdir}/usr/share/pixmaps/wink.png
29   ln -s /usr/lib/libexpat.so.1 ${pkgdir}/usr/share/wink/libexpat.so.0
30   cat > ${pkgdir}/usr/share/wink/wink.sh <<HERE
31 #!/bin/bash
32 cd /usr/share/wink
33 LD_LIBRARY_PATH=. ./wink
34 HERE
35   chmod 0755 ${pkgdir}/usr/share/wink/wink.sh
36   ln -s /usr/share/wink/wink.sh ${pkgdir}/usr/bin/wink.sh