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

Felix Yan fyan at archlinux.org
Thu Dec 3 05:54:53 UTC 2015


    Date: Thursday, December 3, 2015 @ 06:54:53
  Author: fyan
Revision: 148155

archrelease: copy trunk to community-staging-any

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

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

Copied: deepin-artwork-themes/repos/community-staging-any/PKGBUILD (from rev 148154, deepin-artwork-themes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-12-03 05:54:53 UTC (rev 148155)
@@ -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.1.20151202
+_commit=e52d6203113b138b42c02b58674deaabb0310a08
+_desktopbaserev=6cd46627bb62ce820991aa53439be8142b523ad8
+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