Date: Tuesday, November 17, 2015 @ 16:06:53 Author: fyan Revision: 146997
archrelease: copy trunk to community-any Added: deepin-artwork-themes/repos/community-any/ deepin-artwork-themes/repos/community-any/PKGBUILD (from rev 146996, deepin-artwork-themes/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: deepin-artwork-themes/repos/community-any/PKGBUILD (from rev 146996, deepin-artwork-themes/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2015-11-17 15:06:53 UTC (rev 146997) @@ -0,0 +1,33 @@ +# $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 +}