| 1 | # Description: A fast commandline-driven image viewer for X. |
| 2 | # URL: http://linuxbrit.co.uk/software/feh |
| 3 | # Packager: Vincenzo Colosimo vico at bicisport dot de |
| 4 | # Maintainer: Thomas Penteker, tek at serverop dot de |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | # Depends on: giblib |
| 7 | |
| 8 | name=feh |
| 9 | version=1.5 |
| 10 | release=1 |
| 11 | source=(https://derf.homelinux.org/projects/feh/feh-$version.tar.bz2) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | |
| 16 | sed -i config.mk \ |
| 17 | -e 's|usr/local|usr|g' \ |
| 18 | -e 's|share/man|man|g' \ |
| 19 | -e 's|^xinerama|#xinerama|' \ |
| 20 | -e "s|CFLAGS ?=|CFLAGS ?= $CFLAGS -I$CLFS/usr/include -L$CLFS/usr/lib|" |
| 21 | |
| 22 | make CC="$CC" |
| 23 | make DESTDIR=$PKG install |
| 24 | rm -rf $PKG/usr/share/doc |
| 25 | } |