diff --git a/pkg.info b/pkg.info index 5ff8025..c2d63a4 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,56 @@ name: librewolf description: A custom version of Firefox, focused on privacy, security and freedom -version: 143.0p1 +version: 143.0.1p1 +revision: 1 url: https://librewolf.net/ license: MPL2 architecture: any -depends: ["alsa-lib", "at-spi2-core", "cairo", "dbus", "ffmpeg", "fontconfig", "freetype2", "gcc-libs", "gdk-pixbuf", "glib", "glibc", "gtk3", "hicolor-icon-theme", "libpulse", "libx11", "libxcb", "libxcomposite", "libxdamage", "libxext", "libxfixes", "libxrandr", "libxt", "nspr", "nss", "pango", "ttf-font", "libvpx"] -optional_depends: ["libnotify", "xdg-desktop-portal"] -make_depends: ["cbindgen", "clang", "diffutils", "lld", "llvm", "mesa", "nasm", "nodejs", "python3", "rustc", "unzip"] type: source +depends: + - alsa-lib + - at-spi2-core + - cairo + - dbus + - ffmpeg + - fontconfig + - freetype2 + - gcc-libs + - gdk-pixbuf + - glib + - glibc + - gtk3 + - hicolor-icon-theme + - libpulse + - libx11 + - libxcb + - libxcomposite + - libxdamage + - libxext + - libxfixes + - libxrandr + - libxt + - nspr + - nss + - pango + - ttf-font + - libvpx +optional_depends: + - libnotify + - xdg-desktop-portal +make_depends: + - cbindgen + - clang + - diffutils + - lld + - llvm + - mesa + - nasm + - nodejs + - python3 + - rustc + - unzip +downloads: + - url: https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: d14081545c2b7a0be9c38ea21f82a1a5ff254eafd391173b12081014c4641879 diff --git a/source.sh b/source.sh index 42186ca..c642032 100644 --- a/source.sh +++ b/source.sh @@ -2,14 +2,9 @@ # 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://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${BPM_PKG_VERSION//p/-}/librewolf-${BPM_PKG_VERSION//p/-}.source.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 +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" # Build config based on Arch Linux mv mozconfig "$BPM_SOURCE" }