PKGBUILDs/community/gnome-software/PKGBUILD

41 lines
1.2 KiB
Bash
Raw Normal View History

2017-06-27 18:53:59 +00:00
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Yosef Or Boczko <yoseforb@gnome.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.og>
# - remove dependency on fwupd, specify -Denable-fwupd=false
# - remove makedepend on valgrind, specify -Denable-valgrind=false
2017-06-27 18:53:59 +00:00
pkgname=gnome-software
2018-01-11 20:05:38 +00:00
pkgver=3.26.5
2017-06-27 18:53:59 +00:00
pkgrel=1
pkgdesc="GNOME Software Tools"
2017-11-21 13:18:55 +00:00
arch=(x86_64)
2017-06-27 18:53:59 +00:00
license=(GPL2)
url="https://wiki.gnome.org/Apps/Software/"
depends=(gtk3 appstream-glib libsoup gsettings-desktop-schemas gnome-desktop flatpak
packagekit archlinux-appstream-data gtkspell3 libgudev liboauth)
makedepends=(python docbook-xsl git meson gobject-introspection gtk-doc)
2018-01-11 20:05:38 +00:00
_commit=7424bad60e8336079eb7db639e0cc96c99d98354 # tags/3.26.5^0
2017-06-27 18:53:59 +00:00
source=("git+https://git.gnome.org/browse/gnome-software#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^GNOME_SOFTWARE_//;s/_/./g;s/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
2018-01-11 20:05:38 +00:00
arch-meson $pkgname build -Denable-rpm=false -Denable-fwupd=false -Denable-valgrind=false
ninja -C build
2017-06-27 18:53:59 +00:00
}
package() {
2018-01-11 20:05:38 +00:00
DESTDIR="$pkgdir" ninja -C build install
2017-06-27 18:53:59 +00:00
}