summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/feh/PKGBUILD
blob: 0f97b3b67a1843064ebb61ca6976d93904076eac (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
# $Id: PKGBUILD 94545 2010-10-08 08:16:45Z bisson $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=feh
pkgver=1.10
pkgrel=2
pkgdesc='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' 'libjpeg7' 'libpng12')
makedepends=('libxt')
source=("https://derf.homelinux.org/~derf/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('c42095ed6a7636fe9d1ec90d3994f4a57af84681')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  sed -i -e 's:/usr/local:/usr:g' config.mk
  make
}

package(){
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}