diff options
-rw-r--r-- | testing/planner/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/planner/APKBUILD b/testing/planner/APKBUILD new file mode 100644 index 00000000000..e56134a502c --- /dev/null +++ b/testing/planner/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Antoni Aloy <aaloytorrens@gmail.com> +pkgname=planner +pkgver=0.14.6_git20211001 +pkgrel=0 +_commit="fd4ff710a0b3552218665bda784def56b817103e" +pkgdesc="Project management application" +url="https://wiki.gnome.org/Apps/Planner" +arch="all" +license="GPL-2.0-or-later" +makedepends="meson cmake glib-dev gtk+3.0-dev libxslt-dev" +subpackages="$pkgname-lang $pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://gitlab.gnome.org/World/planner/-/archive/$_commit.tar.gz" +builddir="$srcdir/$pkgname-$_commit" + +build() { + abuild-meson . build + meson compile -C build +} + +check() { + meson test --no-rebuild -v -C build +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C build + + # Remove conflicting files + cd "$pkgdir"/usr/share/mime + find . -maxdepth 1 -type f -exec rm "{}" \; +} + +sha512sums=" +23de2707093e7f6488166ed34230fb293d8999c80d8dbb2d86bfde6202106a95532e5327ac057ab48a87a95d022f5a9d8e423885b312fdaeb82e8bc91e30a2c6 planner-0.14.6_git20211001.tar.gz +" |