summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD14
3 files changed, 18 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 812d1112ee6..c20fca32a5a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,7 @@ pkgbase = gnome-web-shortcuts-extension-git
url = https://gitlab.gnome.org/sthursfield/gnome-web-shortcuts-extension
install = gnome-web-shortcuts-extension.install
arch = any
+ license = unknown
makedepends = git
makedepends = meson
depends = nautilus
@@ -15,4 +16,3 @@ pkgbase = gnome-web-shortcuts-extension-git
sha256sums = SKIP
pkgname = gnome-web-shortcuts-extension-git
-
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..165e01d5830
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+# Ignore everything
+*
+
+# But not these files...
+!.gitignore
+!PKGBUILD
+!.SRCINFO
+!gnome-web-shortcuts-extension.install
diff --git a/PKGBUILD b/PKGBUILD
index 75ebc87074f..53bfd532e77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,6 +6,7 @@ pkgdesc="Adds a 'Create web link...' menu item to Nautilus, which makes it simpl
create URL shortcut files in directories"
arch=('any')
url="https://gitlab.gnome.org/sthursfield/gnome-web-shortcuts-extension"
+license=('unknown')
depends=('nautilus' 'firefox')
makedepends=('git' 'meson')
provides=("${pkgname%-git}")
@@ -20,12 +21,15 @@ pkgver() {
}
build() {
- cd "${pkgname%-git}"
- arch-meson . build
- ninja -C build
+ arch-meson "${pkgname%-git}" build
+ meson compile -C build
}
+# No tests defined
+#check() {
+# meson test -C build
+#}
+
package() {
- cd "${pkgname%-git}"
- DESTDIR="$pkgdir" ninja -C build install
+ DESTDIR="$pkgdir" meson install -C build
}