diff options
author | Christophe Noisel | 2022-10-13 20:22:27 +0200 |
---|---|---|
committer | Christophe Noisel | 2022-10-13 21:06:58 +0200 |
commit | 1b0652f1bc4968333d215dc01bbdf4db26054a99 (patch) | |
tree | be7f360cbc219c057153248b26f7fb0ae1544731 /PKGBUILD | |
parent | f510ae4ba793eb9c338841f1123658cdd191da2b (diff) | |
download | aur-1b0652f1bc4968333d215dc01bbdf4db26054a99.tar.gz |
jumped to version 0.14.90 (master)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 80 |
1 files changed, 33 insertions, 47 deletions
@@ -1,67 +1,53 @@ -# Maintainer: +# Maintainer: Christophe Noisel <cnoisel at proton.me> # Contributor: Balló György <ballogyor+arch at gmail dot com> # Contributor: herb <herb@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=planner -pkgver=0.14.6 -pkgrel=6 +pkgver=0.14.90 +pkgrel=7 pkgdesc='Project management application for GNOME' arch=('x86_64') license=('GPL') url='https://wiki.gnome.org/Apps/Planner' -depends=('libgnomecanvas' 'libxslt' 'gconf') -makedepends=('intltool' 'gtk-doc' 'pygtk' 'rarian') +depends=('glib2>=2.50', # glib, gmodule, gobject + 'gtk3>=3.10', # gtk3, gail + 'libxml2>=2.6.27', + 'libxslt>=1.1.2', #libxslt, libexslt + 'libgda>=5.0') +makedepends=('meson') options=('!emptydirs') -source=(https://download.gnome.org/sources/planner/${pkgver%.*}/planner-$pkgver.tar.xz - f9840c342e4b5767ee35f0d326b7f7eaf56850ed.patch - 05ba23be296085313abd8d7d5075d962084f5d38.patch - 0cc65e2f420af45f78d190ac2af64810a148bb31.patch - cd2b658e83d47e8f49d1bbaf54be6433a21d3758.patch - fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch - 8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch - 42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch) -sha256sums=('130d29e6d6b8c1994017deba2acca05a4bf83ba1e169635ec8c5c7878abe0696' - 'bc4455b318bb26f44fe50a8e07292b7654c795ff2a1629a788ea749f6c8bac81' - '88a34bb93bca4ae5865f6c70d7d73f3a0009e5137ba2346a8446c6e206e51b20' - '0cde21948f01baaa31a9a5f8af76444c7151ad39a0bc45d8e04de8b07837f0ad' - '1644550a9be35253fe0a353fc004bd8576de3b85a6b21b92cbb0a87c03f37894' - '4275689c2d4493ddcda3a40309a6bbdcdf6323bed80ca2e011138cdcd88da852' - '629df2552826dc93446e3a7048dfd405663229f8882fa36537edeca012ba03ee' - '441ae8cb636307f76e3907d755b1c41df6f16c84f04d5187f1bb0a9fda24c094') +_commit="9e50bb29c7bf5ad6498172d7e29671e7734fc42a" # = master as of 2022-10-13 +source=("git+https://gitlab.gnome.org/World/planner.git#commit=$_commit") +sha256sums=('SKIP') -prepare() { - cd $pkgname-$pkgver - # Upstream fixes - patch -Np1 -i ../f9840c342e4b5767ee35f0d326b7f7eaf56850ed.patch - patch -Np1 -i ../05ba23be296085313abd8d7d5075d962084f5d38.patch - patch -Np1 -i ../0cc65e2f420af45f78d190ac2af64810a148bb31.patch +# https://wiki.archlinux.org/title/Meson_package_guidelines#Template - # Remove deprecated libgnomeui dependency - patch -Np1 -i ../cd2b658e83d47e8f49d1bbaf54be6433a21d3758.patch - patch -Np1 -i ../fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch - - # Install icons to datadir/icons/hicolor - patch -Np1 -i ../8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch - patch -Np1 -i ../42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch +build() { + # 'git clone' done in "./planner" directory : + arch-meson planner build + meson compile -C build +} - autoreconf -fi +check() { + meson test -C build --print-errorlogs } -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-update-mimedb --disable-schemas-install \ - --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ - PYTHON=/usr/bin/python2 +package() { + meson install -C build --destdir "$pkgdir" +} - #https://bugzilla.gnome.org/show_bug.cgi?id=656231 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool +post_install() { + glib-compile-schemas "usr/share/glib-2.0/schemas" + update-mime-database "usr/share/mime" + gtk-update-icon-cache -qtf "usr/icons/hicolor" + update-desktop-database -q "usr/share/applications" +} - make +post_upgrade() { + post_install "$1" } -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install +post_remove() { + post_install "$1" } |