diff --git a/pkg.info b/pkg.info index 41d3753..8802c1a 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,25 @@ name: libgudev description: GObject bindings for libudev -version: 238 -revision: 2 +version: "238" +revision: 3 url: https://wiki.gnome.org/Projects/libgudev license: LGPL2.1 architecture: any -depends: ["gcc-libs","glib","glibc","udev"] -make_depends: ["gobject-introspection","meson","vala"] type: source +depends: + - gcc-libs + - glib + - glibc + - libudev +make_depends: + - gobject-introspection + - gtk-doc + - meson + - udev + - umockdev + - vala +downloads: + - url: https://download.gnome.org/sources/libgudev/${BPM_PKG_VERSION}/libgudev-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 61266ab1afc9d73dbc60a8b2af73e99d2fdff47d99544d085760e4fa667b5dd1 diff --git a/source.sh b/source.sh index 2e845bd..770d3c8 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://gitlab.gnome.org/GNOME/libgudev/-/archive/${BPM_PKG_VERSION}/libgudev-${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() {