[arch-commits] Commit in baobab/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 19 08:36:06 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:36:06
Author: felixonmars
Revision: 386390
archrelease: copy trunk to staging-x86_64
Added:
baobab/repos/staging-x86_64/
baobab/repos/staging-x86_64/PKGBUILD
(from rev 386388, baobab/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: baobab/repos/staging-x86_64/PKGBUILD (from rev 386388, baobab/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:36:06 UTC (rev 386390)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=baobab
+pkgver=3.34.0
+pkgrel=2
+pkgdesc="A graphical directory tree analyzer"
+url="https://wiki.gnome.org/Apps/DiskUsageAnalyzer"
+arch=(x86_64)
+license=(GPL2)
+depends=(dconf gtk3 gsettings-desktop-schemas librsvg)
+makedepends=(vala gobject-introspection yelp-tools appstream-glib git meson)
+groups=(gnome)
+_commit=19d9c16ac1e8fe18c13d413655a73979c3b0e116 # tags/3.34.0^0
+source=("git+https://gitlab.gnome.org/GNOME/baobab.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+
+ # https://bugs.archlinux.org/task/31861
+ sed -i '/^MimeType=/d' "$pkgdir/usr/share/applications/org.gnome.baobab.desktop"
+}
More information about the arch-commits
mailing list