diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 8 insertions, 6 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sat Jul 9 23:02:00 UTC 2016 +# Sat Jul 9 23:12:50 UTC 2016 pkgbase = cmake-doc-qch pkgdesc = CMake documentation in Qt Help format pkgver = 3.6.0 @@ -7,7 +7,7 @@ pkgbase = cmake-doc-qch url = http://www.cmake.org/documentation/ arch = any license = CCPL:cc-by - source = https://www.cmake.org/cmake/help/v3.6/CMake.qch + source = CMake-3.6.0.qch::https://www.cmake.org/cmake/help/v3.6/CMake.qch md5sums = 1b368c3dbe690792c5b2b97f8f87da9d pkgname = cmake-doc-qch diff --git a/.gitignore b/.gitignore index 23d1d708ff9e..4df6cee882f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /src/ /pkg/ -/CMake.qch +/CMake-*.qch *.pkg.tar.xz @@ -2,15 +2,17 @@ pkgname=cmake-doc-qch pkgver=3.6.0 -pkgrel=2 +pkgrel=3 pkgdesc="CMake documentation in Qt Help format" arch=('any') license=('CCPL:cc-by') url='http://www.cmake.org/documentation/' -source=("https://www.cmake.org/cmake/help/v${pkgver:0:3}/CMake.qch") +# rename to include version of each release +# (prevents accidentally using the file of an older version) +source=("CMake-$pkgver.qch::https://www.cmake.org/cmake/help/v${pkgver:0:3}/CMake.qch") md5sums=('1b368c3dbe690792c5b2b97f8f87da9d') package() { mkdir -p "$pkgdir/usr/share/doc/qt" - cp "$srcdir"/CMake.qch "$pkgdir/usr/share/doc/qt" + cp "$srcdir"/CMake-$pkgver.qch "$pkgdir/usr/share/doc/qt" } |