diff --git a/pkg.info b/pkg.info index 877e241..0d0e343 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,52 @@ name: waybar description: Highly customizable Wayland bar for Sway and Wlroots based compositors version: 0.14.0 -revision: 3 +revision: 4 url: https://github.com/Alexays/Waybar license: MIT architecture: any -depends: ["atkmm", "cairomm", "elogind", "fmt", "gcc-libs", "glib", "glibc", "glibmm", "gtk-layer-shell", "gtk3", "gtkmm3", "jsoncpp", "libdbusmenu", "libevdev", "libinput", "libmpdclient", "libnl", "pipewire", "jack", "libpulse", "libsigcpp", "wireplumber", "libxkbcommon", "sndio", "spdlog", "udev", "upower", "wayland"] -optional_depends: ["otf-font-awesome"] -make_depends: ["catch2", "cmake", "glib", "meson", "scdoc", "wayland-protocols", "python-setuptools"] type: source +depends: + - atkmm + - cairomm + - elogind + - fmt + - gcc-libs + - glib + - glibc + - glibmm + - gtk-layer-shell + - gtk3 + - gtkmm3 + - jsoncpp + - libdbusmenu + - libevdev + - libinput + - libmpdclient + - libnl + - pipewire + - jack + - libpulse + - libsigcpp + - wireplumber + - libxkbcommon + - sndio + - spdlog + - udev + - upower + - wayland +optional_depends: + - otf-font-awesome +make_depends: + - catch2 + - cmake + - glib + - meson + - scdoc + - wayland-protocols + - python-setuptools +downloads: + - url: https://github.com/Alexays/Waybar/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 7f3859779bb3a5028a7215b2000c2e476c03453a52289164ba60a4bf1bb3772f diff --git a/source.sh b/source.sh index 1b0c79b..b20cbfb 100644 --- a/source.sh +++ b/source.sh @@ -2,18 +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://github.com/Alexays/Waybar/archive/refs/tags/${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" - - cd "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {