Date: Tuesday, November 24, 2015 @ 07:49:17 Author: fyan Revision: 147607
archrelease: copy trunk to community-any Added: deepin-artwork-themes/repos/community-any/PKGBUILD (from rev 147606, deepin-artwork-themes/trunk/PKGBUILD) Deleted: deepin-artwork-themes/repos/community-any/PKGBUILD ----------+ PKGBUILD | 73 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 40 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-11-24 06:48:56 UTC (rev 147606) +++ PKGBUILD 2015-11-24 06:49:17 UTC (rev 147607) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@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 -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#tag=$pkgver") -sha256sums=('SKIP') - -prepare() { - cd $pkgname - # fix python version - find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2=' -} - -build() { - cd $pkgname - make build -} - -package() { - cd $pkgname - make DESTDIR="$pkgdir" install -} Copied: deepin-artwork-themes/repos/community-any/PKGBUILD (from rev 147606, deepin-artwork-themes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-11-24 06:49:17 UTC (rev 147607) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@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 +_desktopbaserev=6cd46627bb62ce820991aa53439be8142b523ad8 +pkgrel=2 +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#tag=$pkgver" + "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 +}