mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
|
# $Id$
|
||
|
# Maintainer: Jan de Groot <jan@archlinux.org>
|
||
|
|
||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
# - configure with --enable-compile-warnings=no
|
||
|
|
||
|
pkgname=gnome-desktop
|
||
|
pkgver=3.28.0
|
||
|
pkgrel=1
|
||
|
epoch=1
|
||
|
pkgdesc="Library with common API for various GNOME modules"
|
||
|
url="https://git.gnome.org/browse/gnome-desktop"
|
||
|
arch=(x86_64)
|
||
|
license=(GPL LGPL)
|
||
|
depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes libseccomp bubblewrap)
|
||
|
makedepends=(intltool gobject-introspection git autoconf-archive gtk-doc yelp-tools)
|
||
|
_commit=5e30118786eb767001fc8bfc8d130127b9538297 # tags/3.28.0^0
|
||
|
source=("git+https://git.gnome.org/browse/gnome-desktop#commit=$_commit"
|
||
|
bwrap-var.diff)
|
||
|
sha256sums=('SKIP'
|
||
|
'701bfa5779ced0f50241d4370068fc58246d47088c6e95be27d204847866f106')
|
||
|
|
||
|
pkgver() {
|
||
|
cd $pkgname
|
||
|
git describe --tags | sed 's/-/+/g'
|
||
|
}
|
||
|
|
||
|
prepare() {
|
||
|
cd $pkgname
|
||
|
patch -Np1 -i ../bwrap-var.diff # evince-thumbnailer needs fontconfig cache
|
||
|
intltoolize
|
||
|
gtkdocize
|
||
|
autoreconf -fvi
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname
|
||
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||
|
--libexecdir=/usr/lib --disable-static --enable-gtk-doc \
|
||
|
--with-gnome-distributor="Arch Linux" --enable-compile-warnings=no
|
||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|