blob: 55a959c1987c043ccabaa0cd27e34dcd0a9a47d0 (
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
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 191916 2013-08-01 06:59:45Z bpiotrowski $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=fbida
pkgver=2.09
pkgrel=3
pkgdesc="Few applications to display and elementary edit images: fbi, fbgs, ida, exiftran"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kraxel.org/blog/linux/fbida/"
license=('GPL2')
depends=('giflib' 'libtiff' 'libexif' 'lesstif' 'libpng' 'fontconfig' 'curl' 'desktop-file-utils')
makedepends=('libxpm' 'imagemagick')
optdepends=('ghostscript: to use fbgs')
install=fbida.install
source=(http://www.kraxel.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
ida-desktop.patch ida-PrintGifError.patch)
sha1sums=('5838b2cb7188481fece6159fccb3b121acd906e7'
'SKIP'
'd06b70f2d581a1a3e9e0909b5af7f3f71ed54717'
'4e7ed05fbfba46296aae11a9768680109bee8ac5')
prepare() {
cd ${pkgname}-${pkgver}
sed -i 's/ungif/gif/' GNUmakefile
patch -p0 -i "${srcdir}/ida-desktop.patch"
patch -p1 -i "${srcdir}/ida-PrintGifError.patch"
}
build() {
cd ${pkgname}-${pkgver}
make verbose=yes
convert -resize 25% logo.jpg ida.png
}
package() {
cd ${pkgname}-${pkgver}
make STRIP="" DESTDIR="${pkgdir}" prefix=/usr install
install -D -m644 desktop/ida.desktop "${pkgdir}/usr/share/applications/ida.desktop"
install -D -m644 ida.png "${pkgdir}/usr/share/pixmaps/ida.png"
}
|