summaryrefslogtreecommitdiff
path: root/manualPorts/ufraw/Pkgfile
blob: d2f909e6682e31a222e14e665dcd818b6deac0b4 (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
# Description:  Standalone or gimp plugin converter for raw files
# URL:          http://ufraw.sourceforge.net
# Maintainer:   Erich Eckner, crux at eckner dot net
# Depends on:   gtkimageview lcms2
# Nice to have: exiv2 lensfun gimp

name=ufraw
version=0.22
release=3
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz ufraw-0.22-gcc7-1.patch)

build() {
    cd $name-$version

    patch -p1 -i../ufraw-0.22-gcc7-1.patch

    ./configure --prefix=/usr \
                --mandir=/usr/share/man \
                --with-gimp \
                --enable-mime
    make
    make DESTDIR=$PKG install

    # remove junk
    rm -rf $PKG/usr/share/{gconf,locale}
}