From c0b12c047d36849c59d51d0b6d0893ac8fb3d229 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 12 Oct 2025 11:26:22 +0300 Subject: [PATCH] Rebuild package --- pkg.info | 14 +++++++++++++- source.sh | 10 ---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/pkg.info b/pkg.info index 7cae4e1..f89911e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,8 +1,20 @@ name: libxft description: FreeType-based font drawing library for X version: 2.3.9 +revision: 2 url: https://xorg.freedesktop.org/ license: HPND-sell-variant architecture: any -depends: ["fontconfig","freetype2","glibc","libx11","libxrender","xorgproto"] type: source +depends: + - fontconfig + - freetype2 + - glibc + - libx11 + - libxrender + - xorgproto +downloads: + - url: https://www.x.org/pub/individual/lib/libXft-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 60a25b78945ed6932635b3bb1899a517d31df7456e69867ffba27f89ff3976f5 diff --git a/source.sh b/source.sh index 16d883b..46d93b8 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.x.org/pub/individual/lib/libXft-${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() {