[arch-commits] Commit in deepin-icon-theme/repos (2 files)
Felix Yan
fyan at archlinux.org
Thu Dec 3 05:49:45 UTC 2015
Date: Thursday, December 3, 2015 @ 06:49:44
Author: fyan
Revision: 148153
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 148152, deepin-icon-theme/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: deepin-icon-theme/repos/community-staging-any/PKGBUILD (from rev 148152, deepin-icon-theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-12-03 05:49:44 UTC (rev 148153)
@@ -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.0.20151202
+_commit=3657bcbd209d6381d42d6c593ad80535a03ef2a7
+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