diff options
author | Mark Wagie | 2021-06-17 16:19:58 -0600 |
---|---|---|
committer | Mark Wagie | 2021-06-17 16:19:58 -0600 |
commit | df8a146fcae71b10e794517b117cf8439ebd9163 (patch) | |
tree | 526ad45f062d6abf47443d18bffc80b36e591163 | |
parent | 198410d93f34c7127d2f0bad931b1752c1a38fd7 (diff) | |
download | aur-df8a146fcae71b10e794517b117cf8439ebd9163.tar.gz |
PKGBUILD improvements
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 18 insertions, 6 deletions
@@ -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 000000000000..165e01d5830b --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO +!gnome-web-shortcuts-extension.install @@ -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 } |