mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# $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
|
|
|
|
pkgname=gnome-software
|
|
pkgver=3.26.4
|
|
pkgrel=1
|
|
pkgdesc="GNOME Software Tools"
|
|
arch=(x86_64)
|
|
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)
|
|
_commit=2d0d2d7bc464a35a9d26f6a6485bf38c716ace86 # tags/3.26.4^0
|
|
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() {
|
|
mkdir build
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
arch-meson ../$pkgname -Denable-rpm=false -Denable-fwupd=false -Denable-valgrind=false
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
DESTDIR="$pkgdir" ninja install
|
|
}
|