updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / eaglemode / PKGBUILD
blobb8c6e0515f3d7f22b31230998a47e3b37c433722
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=eaglemode
4 pkgver=0.83.0
5 pkgrel=1
6 pkgdesc="Visit almost everything in your PC simply by zooming in"
7 arch=('i686' 'x86_64')
8 url="http://eaglemode.sourceforge.net/"
9 license=('GPL')
10 depends=('desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'libtiff' 'libpng' 'librsvg' 'poppler-glib' 'xdg-utils' 'xine-lib' 'xz')
11 makedepends=('perl>=5.8')
12 install=$pkgname.install
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 \
14         $pkgname.desktop \
15         $pkgname.sh)
16 sha256sums=('a30b0c30d606c2473ac9ed525ce0616972a4a4948fcde60915b40e27698a9b66'
17             '927e77b2cacc29ea0db13fbbf506b1d87515ea20849a3f990ff42f9f2565daa8'
18             'e7c372c754b00ddddf17f2236b1edbf899b82dbac62365be257aaff9a7fc214e')
20 build() {
21   cd ${srcdir}/$pkgname-$pkgver
23   install -d ${pkgdir}/opt
25   perl make.pl build
28 package() {
29   cd ${srcdir}/$pkgname-$pkgver
31   perl make.pl install dir=${pkgdir}/opt/$pkgname
32   install -D -m755 ${srcdir}/$pkgname.sh ${pkgdir}/usr/bin/$pkgname
34 # .desktop + icon file
35   install -D -m644 ${srcdir}/$pkgname.desktop \
36     ${pkgdir}/usr/share/applications/$pkgname.desktop
37   install -D -m644 ${srcdir}/$pkgname-$pkgver/res/icons/${pkgname}32.png \
38     ${pkgdir}/usr/share/icons/hicolor/32x32/apps/$pkgname.png
39   install -D -m644 ${srcdir}/$pkgname-$pkgver/res/icons/${pkgname}48.png \
40     ${pkgdir}/usr/share/icons/hicolor/48x48/apps/${pkgname}.png