summaryrefslogtreecommitdiff
path: root/libe-book/Pkgfile
blob: 59dba1509f20146fcd9f40a70207f7e48403d290 (plain)
    1 # Description: Library for import of reflowable e-book formats.
    2 # URL: https://sourceforge.net/projects/libebook/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: liblangtag librevenge icu
    5 
    6 name=libe-book
    7 version=0.1.3
    8 release=2
    9 source=(https://sourceforge.net/projects/${name//-/}/files//${name}-${version}/$name-$version.tar.xz
   10 	libebook-0.1.3-icu-68.patch)
   11 
   12 build() {
   13   cd $name-$version
   14   [ $(pkginfo -i | awk '/^icu / {split($2,a,"."); print a[1]}') -ge 68 ] && \
   15     patch -p1 -i $SRC/libebook-0.1.3-icu-68.patch
   16   ./configure --prefix=/usr \
   17     --without-docs
   18   make
   19   make DESTDIR=$PKG install
   20 }

Generated by cgit