summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Majewski2020-02-26 13:46:37 +0100
committerKevin Majewski2020-02-26 13:46:37 +0100
commit7ef78874214698dbf3be997c22f0818f63673d13 (patch)
tree331ae27eb58173bc56a09f0548a769a69e9c05a6
parenta63ad68537a35101404d34d4382ad24376628c18 (diff)
downloadaur-gnome-todo-git.tar.gz
Switch to meson build system
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD29
2 files changed, 17 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index abc48a05497..3d8fd83fa34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = gnome-todo-git
pkgdesc = Simple to-do list manager for Gnome
- pkgver = 245.6581252
+ pkgver = 3.91.1+448+g34ddbcc
pkgrel = 1
- url = https://feaneron.wordpress.com/2015/06/22/introducing-gnome-to-do/
+ url = https://wiki.gnome.org/Apps/Todo
install = gnome-todo.install
arch = i686
arch = x86_64
@@ -12,8 +12,8 @@ pkgbase = gnome-todo-git
makedepends = intltool
depends = gtk3
depends = evolution-data-server-git
- source = git+git://git.gnome.org/gnome-todo
- sha256sums = SKIP
+ source = git+https://gitlab.gnome.org/GNOME/gnome-todo.git
+ sha512sums = SKIP
pkgname = gnome-todo-git
diff --git a/PKGBUILD b/PKGBUILD
index 296ad765b54..f154108987c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,27 @@
-# Maintainer: Alex Palaistras <alex+archlinux<at>deuill.org>
-
pkgname=gnome-todo-git
-pkgver=245.6581252
+_pkgname=gnome-todo
+pkgver=3.91.1+448+g34ddbcc
pkgrel=1
pkgdesc="Simple to-do list manager for Gnome"
arch=('i686' 'x86_64')
-url="https://feaneron.wordpress.com/2015/06/22/introducing-gnome-to-do/"
+url="https://wiki.gnome.org/Apps/Todo"
license=(GPL)
depends=('gtk3' 'evolution-data-server-git')
makedepends=('git' 'gnome-common' 'intltool')
install=gnome-todo.install
-source=('git+git://git.gnome.org/gnome-todo')
-sha256sums=('SKIP')
+source=('git+https://gitlab.gnome.org/GNOME/gnome-todo.git')
+sha512sums=('SKIP')
-build() {
- cd "$srcdir"/gnome-todo
- ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-compile
- make
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/-/+/g'
}
-package() {
- cd "$srcdir"/gnome-todo
- make DESTDIR="$pkgdir" install
+build() {
+ arch-meson $_pkgname build
+ ninja -C build
}
-pkgver() {
- cd "$srcdir"/gnome-todo
- echo $(git rev-list --count master).$(git rev-parse --short master)
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
}