cruxports/libheif/Pkgfile

21 lines
555 B
Plaintext
Raw Normal View History

2022-02-26 14:04:55 -05:00
# Description: library for fast image processing
# URL: https://github.com/strukturag/libheif/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: libde265
name=libheif
2022-11-27 07:32:26 -05:00
version=1.14.0
2022-02-26 14:04:55 -05:00
release=1
source=(https://github.com/strukturag/$name/releases/download/v$version/$name-$version.tar.gz)
build() {
mkdir build && cd build
2022-11-27 07:32:26 -05:00
cmake -DCMAKE_INSTALL_PREFIX="/usr/" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
../$name-$version
2022-02-26 14:04:55 -05:00
cmake --build .
make DESTDIR=$PKG install
}