Date: Sunday, April 8, 2018 @ 06:31:30 Author: felixonmars Revision: 315038
archrelease: copy trunk to community-testing-x86_64 Added: deepin-manual/repos/community-testing-x86_64/ deepin-manual/repos/community-testing-x86_64/PKGBUILD (from rev 315037, deepin-manual/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: deepin-manual/repos/community-testing-x86_64/PKGBUILD (from rev 315037, deepin-manual/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-04-08 06:31:30 UTC (rev 315038) @@ -0,0 +1,34 @@ +# $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-manual +pkgver=2.0.7.6 +pkgrel=1 +pkgdesc='Deepin User Manual' +arch=('x86_64') +url="https://github.com/linuxdeepin/deepin-manual" +license=('GPL3') +depends=('deepin-qt5integration' 'qcef') +makedepends=('cmake' 'qt5-tools') +groups=('deepin') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-manual/archive/$pkgver.tar.gz") +sha256sums=('bc7fad2cc61bd6765a0795abdf5879e58dda7e1fa2da0e422e3ff6df742669f2') + +prepare() { + mkdir -p build +} + +build() { + cd build + + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + make -C build DESTDIR="$pkgdir" install +}