summaryrefslogtreecommitdiff
path: root/repo/apps/feh.xibuild
blob: e33ad4fa06bbd95ccb1e6440f8c2a1ba3f3774e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(make)
DEPS=(curl file imlib2 libexif libxinerama libpng)

DESC="Fast and light imlib2-based image viewer"

PKG_VER=3.8
SOURCE=https://feh.finalrewind.org/feh-$PKG_VER.tar.bz2

prepare () {
    sed -i "s:doc/feh:&-3.8:" config.mk 
}

build () {
    make PREFIX=/usr
}

package () {
    make DESTDIR=$PKG_DEST PREFIX=/usr install
}