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>
|
2017-10-21 15:57:16 +00:00
|
|
|
# - 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
|
2017-10-21 15:57:16 +00:00
|
|
|
pkgver=3.26.1+11+ge1ede3c6
|
2017-06-27 18:53:59 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="GNOME Software Tools"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
license=(GPL2)
|
|
|
|
url="https://wiki.gnome.org/Apps/Software/"
|
|
|
|
depends=(gtk3 appstream-glib libsoup gsettings-desktop-schemas gnome-desktop flatpak
|
2017-10-21 15:57:16 +00:00
|
|
|
packagekit archlinux-appstream-data gtkspell3 libgudev liboauth)
|
|
|
|
makedepends=(python docbook-xsl git meson gobject-introspection gtk-doc)
|
|
|
|
_commit=e1ede3c607cf2123b67cccc9185b5a1c1ed5a69d # gnome-3-26
|
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() {
|
2017-10-21 15:57:16 +00:00
|
|
|
mkdir build
|
2017-06-27 18:53:59 +00:00
|
|
|
cd $pkgname
|
2017-10-21 15:57:16 +00:00
|
|
|
|
|
|
|
# fwupd 1.0
|
|
|
|
git cherry-pick -n 798e1ab89 6f17aab14 166a010ba a2eaf2d29 781c81721
|
2017-06-27 18:53:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-10-21 15:57:16 +00:00
|
|
|
cd build
|
|
|
|
arch-meson ../$pkgname -Denable-rpm=false -Denable-fwupd=false -Denable-valgrind=false
|
|
|
|
ninja
|
2017-06-27 18:53:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-10-21 15:57:16 +00:00
|
|
|
cd build
|
|
|
|
DESTDIR="$pkgdir" ninja install
|
2017-06-27 18:53:59 +00:00
|
|
|
}
|