diff --git a/pkg.info b/pkg.info index 5783bae..fbcb82e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,16 +1,37 @@ name: foot description: A fast, lightweight and minimalistic Wayland terminal emulator -version: 1.24.0 +version: 1.25.0 +revision: 1 url: https://codeberg.org/dnkl/foot license: MIT architecture: any -depends: ["fcft","libxkbcommon","ncurses","wayland"] -optional_depends: ["foot-terminfo","libnotify","xdg-utils"] -make_depends: ["llvm","meson","python3","scdoc","tllist","wayland-protocols"] type: source +depends: + - fcft + - libxkbcommon + - ncurses + - wayland +optional_depends: + - foot-terminfo + - libnotify + - xdg-utils +make_depends: + - llvm + - meson + - python3 + - scdoc + - tllist + - wayland-protocols +downloads: + - url: https://codeberg.org/dnkl/foot/archive/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 442a42d576ec72dd50f2d3faea8a664230a47bac79dc1eb6e7c9125ee76c130f split_packages: - name: foot - keep: ["etc/xdg/foot/foot.ini"] + keep: + - etc/xdg/foot/foot.ini - name: foot-terminfo - description: "Additional terminfo files for the foot terminal emulator" - depends: ["ncurses"] + description: Additional terminfo files for the foot terminal emulator + depends: + - ncurses diff --git a/source.sh b/source.sh index cd325f3..3224519 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://codeberg.org/dnkl/foot/archive/${BPM_PKG_VERSION}.tar.gz" -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() {