summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Wagie2021-06-17 16:19:58 -0600
committerMark Wagie2021-06-17 16:19:58 -0600
commitdf8a146fcae71b10e794517b117cf8439ebd9163 (patch)
tree526ad45f062d6abf47443d18bffc80b36e591163 /PKGBUILD
parent198410d93f34c7127d2f0bad931b1752c1a38fd7 (diff)
downloadaur-df8a146fcae71b10e794517b117cf8439ebd9163.tar.gz
PKGBUILD improvements
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 9 insertions, 5 deletions
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
}