# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=feh pkgver=1.12 pkgrel=1 pkgdesc="A fast, lightweight image viewer which uses imlib2" arch=('i686' 'x86_64') url="https://derf.homelinux.org/~derf/projects/feh/" license=('MIT') depends=('libxinerama' 'giblib' 'perl') makedepends=('libxt') source=("https://derf.homelinux.org/~derf/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2") sha1sums=('0f0f6dec50d81f9765bef990018de44e411a7439') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i -e "s:/usr/local:/usr:g" config.mk make || return 1 } package(){ cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1 }