summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD49
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e822a1dd9e0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = scream-git
+ pkgdesc = mutter but it's just an X11 compositor
+ pkgver = 3.28.0+47+gc495f1aa8
+ pkgrel = 1
+ url = https://github.com/Streetwalrus/scream
+ arch = x86_64
+ license = GPL
+ makedepends = intltool
+ makedepends = git
+ depends = libinput
+ depends = zenity
+ depends = libxkbfile
+ depends = libxkbcommon-x11
+ conflicts = mutter
+ source = git+https://github.com/Streetwalrus/scream.git
+ sha256sums = SKIP
+
+pkgname = scream-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..771e890f39f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/src/
+/pkg/
+scream
+*.pkg.tar*
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7ac2d6208be
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Dan Elkouby <streetwalkermc@gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
+
+_pkgname=scream
+pkgname=scream-git
+pkgver=3.28.0+47+gc495f1aa8
+pkgrel=1
+pkgdesc="mutter but it's just an X11 compositor"
+url="https://github.com/Streetwalrus/scream"
+arch=(x86_64)
+license=(GPL)
+depends=(libinput zenity libxkbfile libxkbcommon-x11)
+makedepends=(intltool git)
+conflicts=(mutter)
+source=("git+https://github.com/Streetwalrus/scream.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $_pkgname
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd $_pkgname
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib --disable-static \
+ --disable-schemas-compile --enable-compile-warnings=minimum
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' \
+ -i {.,cogl,clutter}/libtool
+
+ make
+}
+
+package() {
+ cd $_pkgname
+ make DESTDIR="$pkgdir" install
+}