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

Felix Yan fyan at archlinux.org
Thu Dec 17 06:56:02 UTC 2015


    Date: Thursday, December 17, 2015 @ 07:56:02
  Author: fyan
Revision: 153523

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 153522, deepin-artwork-themes/trunk/PKGBUILD)

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

Copied: deepin-artwork-themes/repos/community-testing-any/PKGBUILD (from rev 153522, deepin-artwork-themes/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2015-12-17 06:56:02 UTC (rev 153523)
@@ -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.20151217
+_commit=dbfa570f5d4edbe2bb1bdafb1ccaba3b987dcade
+_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