PKGBUILDs/extra/mutter/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2014-04-14 21:06:02 +00:00
# $Id$
2012-10-31 12:42:21 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2012-04-25 00:45:05 +00:00
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - set --enable-compile-warnings=no in configure
2014-04-14 21:35:19 +00:00
pkgname=mutter
2016-05-10 23:36:04 +00:00
pkgver=3.20.2
2016-04-09 14:26:16 +00:00
pkgrel=1
2012-04-25 00:45:05 +00:00
pkgdesc="A window manager for GNOME"
2016-05-10 23:36:04 +00:00
url="https://git.gnome.org/browse/mutter"
2012-04-25 00:45:05 +00:00
arch=(i686 x86_64)
2016-05-10 23:36:04 +00:00
license=(GPL)
depends=(clutter dconf gobject-introspection-runtime gsettings-desktop-schemas
libcanberra startup-notification zenity libsm gnome-desktop upower
libxkbcommon-x11 gnome-settings-daemon libgudev)
makedepends=(intltool gobject-introspection)
groups=(gnome)
options=(!emptydirs)
2016-04-09 14:26:16 +00:00
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
2016-05-10 23:36:04 +00:00
sha256sums=('1e8c46a81e21f382f56729282fcd0bb1c3a2067135f4b0f3651b307bf7a5b454')
2012-04-25 00:45:05 +00:00
build() {
cd "$pkgname-$pkgver"
2016-05-10 23:36:04 +00:00
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname --disable-static \
2012-04-25 00:45:05 +00:00
--disable-schemas-compile --enable-compile-warnings=no
2013-05-30 14:15:19 +00:00
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2012-04-25 00:45:05 +00:00
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}