diff --git a/pkg.info b/pkg.info index a45bacf..5ebfd57 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,38 @@ name: imagemagick description: FOSS software used for editing and manipulating digital images -version: 7.1.2_3 -revision: 3 +version: 7.1.2_5 +revision: 1 url: https://imagemagick.org/index.php license: custom architecture: any -depends: ["bzip2", "cairo", "fftw", "fontconfig", "freetype2", "gcc-libs", "glib", "glibc", "libtool", "libpng", "libxext", "libxml2", "xz-utils", "zlib"] -optional_depends: ["libjpeg-turbo", "librsvg", "libtiff", "libwebp", "pango"] -make_depends: ["libjpeg-turbo", "librsvg", "libwebp"] type: source +depends: + - bzip2 + - cairo + - fftw + - fontconfig + - freetype2 + - gcc-libs + - glib + - glibc + - libtool + - libpng + - libxext + - libxml2 + - xz-utils + - zlib +optional_depends: + - libjpeg-turbo + - librsvg + - libtiff + - libwebp + - pango +make_depends: + - libjpeg-turbo + - librsvg + - libwebp +downloads: + - url: https://www.imagemagick.org/archive/releases/ImageMagick-${BPM_PKG_VERSION//_/-}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 3f8a2ef3744a704edec90734106107a6f4548e65a30d91d4dedce4c17c6f9e75 diff --git a/source.sh b/source.sh index 50d673d..536d2e1 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://www.imagemagick.org/archive/releases/ImageMagick-${BPM_PKG_VERSION//_/-}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {