contrib/libe-book/Pkgfile

21 lines
621 B
Plaintext
Raw Normal View History

# Description: Library for import of reflowable e-book formats.
2020-06-01 17:45:48 +02:00
# URL: https://sourceforge.net/projects/libebook/
# Maintainer: Tim Biermann, tbier at posteo dot de
2019-08-18 11:19:50 +02:00
# Depends on: liblangtag librevenge icu
name=libe-book
version=0.1.3
2022-01-13 10:42:50 +01:00
release=3
2020-11-14 14:42:36 +01:00
source=(https://sourceforge.net/projects/${name//-/}/files//${name}-${version}/$name-$version.tar.xz
libebook-0.1.3-icu-68.patch)
build() {
cd $name-$version
2020-11-14 14:42:36 +01:00
[ $(pkginfo -i | awk '/^icu / {split($2,a,"."); print a[1]}') -ge 68 ] && \
patch -p1 -i $SRC/libebook-0.1.3-icu-68.patch
2019-08-18 11:19:50 +02:00
./configure --prefix=/usr \
--without-docs
make
make DESTDIR=$PKG install
}