summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-01-02 09:47:57 -0700
committerMark Wagie2021-01-02 09:47:57 -0700
commit0fc573261bed55f6d0c1594408060af326b5b47c (patch)
tree85d8b7e04927f16cfbab3dfbf6b2b40dd2a55ef4
parentcca288a73f1f5ab104fc0854ff0ea12bd22b083b (diff)
downloadaur-0fc573261bed55f6d0c1594408060af326b5b47c.tar.gz
add missing dependencies
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD25
3 files changed, 25 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02255f2ce3c..a1b7ed85695 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,20 +2,22 @@ pkgbase = elementary-planner
pkgdesc = Task manager with Todoist support
pkgver = 2.6.6
pkgrel = 1
- url = https://planner-todo.web.app
+ url = https://useplanner.com
arch = x86_64
license = GPL3
- makedepends = git
makedepends = meson
makedepends = vala
+ makedepends = gobject-introspection
depends = libsoup
depends = granite
depends = webkit2gtk
depends = evolution-data-server
+ depends = libpeas
depends = gtk-theme-elementary
depends = elementary-icon-theme
- conflicts = elementary-planner-git
- source = https://github.com/alainm23/planner/archive/2.6.6.tar.gz
+ provides = planner
+ conflicts = planner
+ source = planner-2.6.6.tar.gz::https://github.com/alainm23/planner/archive/2.6.6.tar.gz
sha256sums = d4c51ec667fd3a5ca7bd06fe156d5894c986f6d25c07b869f3901a25bfd7b731
pkgname = elementary-planner
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..4dab8d6386e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+# Ignore everything
+*
+
+# But not these files...
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 20ed971ab91..446e69b9776 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,27 @@
-# Maintainer: Jonas 'cherti' Große Sundrup <aur@letopolis.de>
-
+# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
+# Contributor: Jonas 'cherti' Große Sundrup <aur@letopolis.de>
pkgname=elementary-planner
pkgver=2.6.6
pkgrel=1
pkgdesc="Task manager with Todoist support"
arch=('x86_64')
-url="https://planner-todo.web.app"
+url="https://useplanner.com"
license=('GPL3')
-depends=('libsoup' 'granite' 'webkit2gtk' 'evolution-data-server' 'gtk-theme-elementary' 'elementary-icon-theme')
-makedepends=('git' 'meson' 'vala')
-conflicts=('elementary-planner-git')
-source=("https://github.com/alainm23/planner/archive/$pkgver.tar.gz")
+depends=('libsoup' 'granite' 'webkit2gtk' 'evolution-data-server'
+ 'libpeas' 'gtk-theme-elementary' 'elementary-icon-theme')
+makedepends=('meson' 'vala' 'gobject-introspection')
+provides=('planner')
+conflicts=('planner')
+source=("planner-$pkgver.tar.gz::https://github.com/alainm23/planner/archive/$pkgver.tar.gz")
sha256sums=('d4c51ec667fd3a5ca7bd06fe156d5894c986f6d25c07b869f3901a25bfd7b731')
build() {
- cd planner-$pkgver
- meson build --prefix=/usr
- cd build
- ninja
+ arch-meson planner-$pkgver build
+ meson compile -C build
}
package() {
- cd planner-$pkgver/build
- DESTDIR="$pkgdir" ninja install
+ DESTDIR="$pkgdir" meson install -C build
ln -s /usr/bin/com.github.alainm23.planner "$pkgdir/usr/bin/planner"
}