[arch-commits] Commit in deepin-metacity/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jul 17 07:26:17 UTC 2018
Date: Tuesday, July 17, 2018 @ 07:26:17
Author: felixonmars
Revision: 360449
upgpkg: deepin-metacity 3.22.19-2
fix default background location
Modified:
deepin-metacity/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-17 07:24:51 UTC (rev 360448)
+++ PKGBUILD 2018-07-17 07:26:17 UTC (rev 360449)
@@ -5,7 +5,7 @@
pkgname=deepin-metacity
pkgver=3.22.19
-pkgrel=1
+pkgrel=2
pkgdesc="2D window manager for Deepin"
arch=('x86_64')
license=('GPL')
@@ -15,11 +15,17 @@
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-metacity/archive/$pkgver.tar.gz")
sha512sums=('e0701affb75085aebb3da6d03793f010cd8ac5b319ad4bd73869bc44d442417386cc37d3f5e2398b75dfbffb570407a520450a3cc93ba3a8ac5f4d24abcdd949')
-build() {
+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 -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
}
More information about the arch-commits
mailing list