PKGBUILDs/extra/mutter/PKGBUILD

41 lines
1.3 KiB
Bash
Raw Normal View History

2012-10-31 12:42:21 +00:00
# $Id: PKGBUILD 170001 2012-10-30 23:01:35Z heftig $
# 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
pkgname=mutter
2013-06-08 01:21:37 +00:00
pkgver=3.8.3
pkgrel=1
2012-04-25 00:45:05 +00:00
pkgdesc="A window manager for GNOME"
arch=(i686 x86_64)
license=('GPL')
2012-10-31 12:42:21 +00:00
depends=('clutter' 'dconf' 'gobject-introspection' 'gsettings-desktop-schemas' 'libcanberra' 'startup-notification' 'zenity' 'libsm')
2012-04-25 00:45:05 +00:00
makedepends=('intltool' 'gnome-doc-utils')
url="http://www.gnome.org"
groups=('gnome')
options=('!libtool' '!emptydirs')
install=mutter.install
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
2013-06-08 01:21:37 +00:00
sha256sums=('3078162c3adef95fb207cc1945b863575ff180709d6394f5cf14e7d0f49b6c2a')
2012-04-25 00:45:05 +00:00
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/mutter \
--localstatedir=/var --disable-static \
--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
}