Rebuild package

This commit is contained in:
2025-10-12 11:26:22 +03:00
parent 7ffe90653b
commit c0b12c047d
2 changed files with 13 additions and 11 deletions
+13 -1
View File
@@ -1,8 +1,20 @@
name: libxft name: libxft
description: FreeType-based font drawing library for X description: FreeType-based font drawing library for X
version: 2.3.9 version: 2.3.9
revision: 2
url: https://xorg.freedesktop.org/ url: https://xorg.freedesktop.org/
license: HPND-sell-variant license: HPND-sell-variant
architecture: any architecture: any
depends: ["fontconfig","freetype2","glibc","libx11","libxrender","xorgproto"]
type: source 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
-10
View File
@@ -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 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 # 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 # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {