[arch-commits] Commit in deepin-metacity/repos (2 files)

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 14:08:50
  Author: felixonmars
Revision: 658725

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-metacity/repos/community-staging-x86_64/
  deepin-metacity/repos/community-staging-x86_64/PKGBUILD
(from rev 658724, deepin-metacity/trunk/PKGBUILD)

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: deepin-metacity/repos/community-staging-x86_64/PKGBUILD (from rev 
658724, deepin-metacity/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-07 14:08:50 UTC (rev 658725)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+# Contributor: Balló György 
+# Contributor: Jan de Groot 
+
+pkgname=deepin-metacity
+pkgver=3.22.24
+pkgrel=2
+pkgdesc="2D window manager for Deepin"
+arch=('x86_64')
+license=('GPL')
+depends=('dconf' 'libcanberra' 'libgtop' 'libsm' 'deepin-desktop-schemas' 
'gtk3' 'startup-notification' 'zenity' 'bamf')
+makedepends=('intltool' 'itstool' 'autoconf-archive' 'yelp-tools' 'python')
+url="https://github.com/linuxdeepin/deepin-metacity;
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-metacity/archive/$pkgver.tar.gz;)
+sha512sums=('dd92cb7fc169483d736abab78a9a7bf7261afba7d15aeab96775a7b67c745dc69f3b28931e7e2eb236a8f01507fa7cf5b30c139a509e36c71f8c666d93ef155f')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--libexecdir=/usr/lib/$pkgname \
+   --disable-static --disable-schemas-compile
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool  
+
+  sed -i 
's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|'
 src/ui/*.c
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in deepin-metacity/repos (2 files)

2018-03-08 Thread Felix Yan via arch-commits
Date: Friday, March 9, 2018 @ 07:41:17
  Author: felixonmars
Revision: 305038

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-metacity/repos/community-testing-x86_64/
  deepin-metacity/repos/community-testing-x86_64/PKGBUILD
(from rev 305037, deepin-metacity/trunk/PKGBUILD)

--+
 PKGBUILD |   29 +
 1 file changed, 29 insertions(+)

Copied: deepin-metacity/repos/community-testing-x86_64/PKGBUILD (from rev 
305037, deepin-metacity/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-09 07:41:17 UTC (rev 305038)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Balló György 
+# Contributor: Jan de Groot 
+
+pkgname=deepin-metacity
+pkgver=3.22.14
+pkgrel=1
+pkgdesc="2D window manager for Deepin"
+arch=('x86_64')
+license=('GPL')
+depends=('dconf' 'libcanberra' 'libgtop' 'libsm' 'deepin-desktop-schemas' 
'gtk3' 'startup-notification' 'zenity' 'bamf')
+makedepends=('intltool' 'itstool' 'autoconf-archive' 'yelp-tools' 'python')
+url="https://github.com/linuxdeepin/deepin-metacity;
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-metacity/archive/$pkgver.tar.gz;)
+sha512sums=('a4fa8bd68e6694384752fc86ba9e8d5fd5619bbec8d7cf840a9f1a4257702ac26148eec9ed7bca1c65946b55f482935494a54c162d17eab520d5b35db3a06f53')
+
+build() {
+  cd $pkgname-$pkgver
+  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--libexecdir=/usr/lib/$pkgname \
+   --disable-static --disable-schemas-compile
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}