[arch-commits] Commit in deepin-wm/repos (2 files)
Jan de Groot
jgc at archlinux.org
Mon Nov 20 22:26:04 UTC 2017
Date: Monday, November 20, 2017 @ 22:26:04
Author: jgc
Revision: 267657
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-wm/repos/community-staging-x86_64/
deepin-wm/repos/community-staging-x86_64/PKGBUILD
(from rev 267656, deepin-wm/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: deepin-wm/repos/community-staging-x86_64/PKGBUILD (from rev 267656, deepin-wm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-11-20 22:26:04 UTC (rev 267657)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-wm
+pkgver=1.9.21
+pkgrel=2
+pkgdesc='Deepin Window Manager'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-wm"
+license=('GPL3')
+depends=('bamf' 'clutter-gtk' 'deepin-desktop-schemas' 'deepin-menu' 'granite' 'deepin-mutter'
+ 'gnome-desktop' 'libgee')
+makedepends=('gnome-common' 'intltool' 'vala')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-wm/archive/$pkgver.tar.gz")
+sha512sums=('90f4b6a94d6227112a153cd51d8af6f53acc07aec6fcba04d2cd553d127626668de7e1e0d66d6cf54412dc9204a8b48fa2c855ab3625e9ee30bf9e7c1ffc4694')
+
+prepare() {
+ export CFLAGS="$CFLAGS -DWNCK_I_KNOW_THIS_IS_UNSTABLE"
+
+ sed -i 's#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#' $pkgname-$pkgver/src/Background/BackgroundSource.vala
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./autogen.sh \
+ --prefix='/usr' \
+ --disable-schemas-compile
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list