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

Felix Yan fyan at archlinux.org
Wed Dec 9 14:01:40 UTC 2015


    Date: Wednesday, December 9, 2015 @ 15:01:39
  Author: fyan
Revision: 151258

archrelease: copy trunk to community-testing-any

Added:
  deepin-artwork-themes/repos/community-testing-any/
  deepin-artwork-themes/repos/community-testing-any/PKGBUILD
    (from rev 151257, deepin-artwork-themes/trunk/PKGBUILD)

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

Copied: deepin-artwork-themes/repos/community-testing-any/PKGBUILD (from rev 151257, deepin-artwork-themes/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2015-12-09 14:01:39 UTC (rev 151258)
@@ -0,0 +1,41 @@
+# $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-artwork-themes
+pkgver=15.10.2
+_commit=e52d6203113b138b42c02b58674deaabb0310a08
+_desktopbaserev=df35ee9bbe33cca436c256a145b88e58e011b737
+pkgrel=1
+pkgdesc='Deepin artwork themes'
+arch=('any')
+license=('LGPL3')
+url="https://gitcafe.com/Deepin/deepin-artwork-themes"
+depends=('deepin-icon-theme')
+makedepends=('python2' 'git')
+groups=('deepin')
+source=("git+https://github.com/linuxdeepin/deepin-artwork-themes.git#commit=$_commit"
+        "git+https://github.com/linuxdeepin/deepin-desktop-base.git#commit=$_desktopbaserev")
+sha256sums=('SKIP'
+            'SKIP')
+
+prepare() {
+  cd $pkgname
+
+  # fix default background url
+  sed -i 's#^BackgroundFile=.*$#BackgroundFile=file:///usr/share/backgrounds/deepin_default_background.jpg#' themes/Deepin/theme.ini
+}
+
+build() {
+  cd $pkgname
+  make build
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  install -d "${pkgdir}"/usr/share/backgrounds/
+  cp "${srcdir}"/deepin-desktop-base/backgrounds/desktop.jpg "${pkgdir}"/usr/share/backgrounds/deepin_default_background.jpg
+}



More information about the arch-commits mailing list