diff --git a/info.yml b/info.yml index 7a6d826..c53f99b 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: xf86-input-libinput description: Generic input driver for the X.org server based on libinput version: 1.5.0 -revision: 2 +revision: 3 url: http://xorg.freedesktop.org/ license: MIT maintainers: @@ -18,3 +18,8 @@ make_depends: - xorgproto replaces: - xorg-libinput +downloads: + - url: https://www.x.org/pub/individual/driver/xf86-input-libinput-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 2524c35f196554ea11aef3bba1cf324759454e1d49f98ac026ace2f6003580e6 diff --git a/recipe.sh b/recipe.sh index 8e3968e..f8638fe 100644 --- a/recipe.sh +++ b/recipe.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/driver/xf86-input-libinput-${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() {