Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
# Exclude bpm archives
|
||||||
|
*.bpm
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Ignore this package
|
||||||
|
echo "ignore"
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
name: gtksourceview4
|
||||||
|
description: A text widget adding syntax highlighting and more to GNOME
|
||||||
|
version: 4.8.4
|
||||||
|
revision: 1
|
||||||
|
url: https://wiki.gnome.org/Projects/GtkSourceView
|
||||||
|
license: GPL2-or-later
|
||||||
|
architecture: any
|
||||||
|
type: source
|
||||||
|
depends:
|
||||||
|
- gtk3
|
||||||
|
- libxml2
|
||||||
|
make_depends:
|
||||||
|
- glade
|
||||||
|
- glib
|
||||||
|
- gobject-introspection
|
||||||
|
- meson
|
||||||
|
- vala
|
||||||
|
downloads:
|
||||||
|
- url: https://download.gnome.org/sources/gtksourceview/${BPM_PKG_VERSION%.*}/gtksourceview-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to_bpm_source: true
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# The build function is executed in the source directory
|
||||||
|
# This function is used to compile the source code
|
||||||
|
build() {
|
||||||
|
meson setup build --prefix=/usr -Dglade_catalog=true
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
# The package function is executed in the source directory
|
||||||
|
# This function is used to move the compiled files into the output directory
|
||||||
|
package() {
|
||||||
|
meson install -C build --destdir="$BPM_OUTPUT"
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gtksourceview4/COPYING
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user