diff --git a/pkg.info b/pkg.info index a641a0c..dd14674 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,24 @@ name: vala description: Compiler for the GObject type system -version: 0.56.18 +version: 0.56.19 +revision: 1 url: https://wiki.gnome.org/Projects/Vala license: LGPL2.1-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["gcc","glib","glibc"] -make_depends: ["help2man","libxslt","libx11","dbus"] type: source +depends: + - gcc + - glib + - glibc +make_depends: + - help2man + - libxslt + - libx11 + - dbus +downloads: + - url: https://download.gnome.org/sources/vala/${BPM_PKG_VERSION%.*}/vala-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 5ad7cbbfcc0de61b403d6797c9ef60455bfbebd8e162aec33b5b0b097adfb9d5 diff --git a/source.sh b/source.sh index ed79b74..483c96e 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://download.gnome.org/sources/vala/${BPM_PKG_VERSION%.*}/vala-${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() { @@ -31,5 +21,6 @@ check() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/vala/COPYING }