[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Mon Dec 12 07:38:33 UTC 2016


    Date: Monday, December 12, 2016 @ 07:38:32
  Author: felixonmars
Revision: 198910

addpkg: deepin-manual 1.0.5-1

Added:
  deepin-manual/
  deepin-manual/repos/
  deepin-manual/trunk/
  deepin-manual/trunk/PKGBUILD

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

Added: deepin-manual/trunk/PKGBUILD
===================================================================
--- deepin-manual/trunk/PKGBUILD	                        (rev 0)
+++ deepin-manual/trunk/PKGBUILD	2016-12-12 07:38:32 UTC (rev 198910)
@@ -0,0 +1,45 @@
+# $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-manual
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='Deepin User Manual'
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-manual"
+license=('GPL3')
+depends=('python-jieba' 'python-pyqt5' 'python-gobject' 'deepin-qml-widgets' 'python-dae')
+makedepends=('npm' 'sassc' 'git')
+groups=('deepin')
+source=("git+https://github.com/linuxdeepin/deepin-manual.git#tag=$pkgver"
+        angular.patch)
+sha256sums=('SKIP'
+            'a29d8927add3f99f8c1cc4aed238c8b6d8a93e2e35560ec555bb2569a81de1f6')
+
+prepare() {
+  cd deepin-manual
+
+  sed -e 's_ln -sf /usr/bin/nodejs ./symdir/node__' \
+      -e 's/sass /sassc /' \
+      -e 's/--unix-newlines//' \
+      -i Makefile
+
+  patch -p1 -i ../angular.patch
+}
+
+build() {
+  cd deepin-manual
+  make
+}
+
+package() {
+  cd deepin-manual
+  make DESTDIR="$pkgdir" install
+
+  cp -r manual "$pkgdir"/usr/share/dman/dman
+  rm -r "$pkgdir"/usr/share/dman/dman-daemon/
+  rm "$pkgdir"/etc/xdg/autostart/dman-daemon.desktop
+  rmdir "$pkgdir"/etc{/xdg/autostart,/xdg,}
+}


Property changes on: deepin-manual/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list