[arch-commits] Commit in deepin-icon-theme/repos (2 files)
Felix Yan
fyan at archlinux.org
Tue Dec 8 06:11:11 UTC 2015
Date: Tuesday, December 8, 2015 @ 07:11:10
Author: fyan
Revision: 150174
archrelease: copy trunk to community-staging-any
Added:
deepin-icon-theme/repos/community-staging-any/
deepin-icon-theme/repos/community-staging-any/PKGBUILD
(from rev 150173, deepin-icon-theme/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: deepin-icon-theme/repos/community-staging-any/PKGBUILD (from rev 150173, deepin-icon-theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-12-08 06:11:10 UTC (rev 150174)
@@ -0,0 +1,40 @@
+# $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-icon-theme
+pkgver=15.10.3
+_commit=c4e462afbaeaa0347a42f3da4d0ac64bcabdc5cc
+pkgrel=1
+pkgdesc="Deepin Icons"
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-icon-theme"
+license=('GPL3')
+replaces=('deepin-cursor-theme')
+conflicts=('deepin-cursor-theme')
+depends=('flattr-icon-theme')
+makedepends=('git' 'inkscape')
+source=("git+https://github.com/linuxdeepin/deepin-icon-theme.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+ cd "${pkgname}"
+ sed 's\flattr\Flattr\' -i deepin/index.theme
+ sed 's\Faenza\Adwaita\' -i deepin/index.theme
+
+ mkdir -p build
+}
+
+build() {
+ cd "${pkgname}"
+ python2 tools/convert.py deepin build
+}
+
+package() {
+ cd "${pkgname}"
+ install -d "${pkgdir}"/usr/share/icons
+ cp -r build/deepin "${pkgdir}"/usr/share/icons/Deepin
+
+ make DESTDIR="$pkgdir" install-cursors
+}
More information about the arch-commits
mailing list