Date: Thursday, March 15, 2018 @ 07:45:17 Author: bpiotrowski Revision: 308234
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 308233, deepin-wm/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: deepin-wm/repos/community-staging-x86_64/PKGBUILD (from rev 308233, deepin-wm/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-15 07:45:17 UTC (rev 308234) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=deepin-wm +pkgver=1.9.22 +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=('16a5aad2e8fc51322a7ffd7fe7193edc2b10babedb11913f8e4dc56c62c911007cad33519ad6bd09342dc921b2aa7e71f3033047310ed8d04140fbf8f6e1ef64') + +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 +}