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

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
}