summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2018-04-23 19:59:52 +0200
committerChristopher Arndt2018-04-23 19:59:52 +0200
commit3ceddc746b82d3e2d7d2cc6f5d38a6c24877f5b9 (patch)
tree9b4ce16912c3c3cc0f2e1eb38740e660a9e69107
parent1b43df3b6b43c73e3a174ead7afbf76ded55aacd (diff)
downloadaur-3ceddc746b82d3e2d7d2cc6f5d38a6c24877f5b9.tar.gz
Fix doc installation
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b596b3846fe..2737fbe83a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = hydrogen-git
pkgdesc = An advanced drum machine (git version)
- pkgver = 1.0.0.beta1.r3003.36fc60c7
+ pkgver = 1.0.0.beta1.r3165.4ae42ba1
pkgrel = 1
url = https://github.com/hydrogen-music/hydrogen
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index b51f1a99c76..4072940fd3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=hydrogen
pkgname="${_pkgname}-git"
-pkgver=1.0.0.beta1.r3003.36fc60c7
+pkgver=1.0.0.beta1.r3165.4ae42ba1
pkgrel=1
pkgdesc="An advanced drum machine (git version)"
arch=('i686' 'x86_64')
@@ -65,10 +65,10 @@ build() {
-DWANT_CPPUNIT=OFF
make
# build html manual & tutorial
- cd "$srcdir/$_pkgname/data/doc"
+ cd "${srcdir}/${_pkgname}/data/doc"
make
# update translations
- cd "$srcdir/$_pkgname/data/i18n"
+ cd "${srcdir}/${_pkgname}/data/i18n"
./updateTranslations.sh
}
@@ -77,14 +77,15 @@ package() {
make DESTDIR="${pkgdir}" install
- # docs
+ # install docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm644 ../{ChangeLog,DEVELOPERS,INSTALL.txt,README.txt}
-
- # clean up data dir
- # https://github.com/hydrogen-music/hydrogen/issues/559
- rm -v "${pkgdir}/usr/share/${_pkgname}/data/i18n/"{*.ts,stats.py,updateTranslations.sh} \
- "${pkgdir}/usr/share/${_pkgname}/data/doc/"{*.docbook,*.po,*.pot,Makefile,TODO}
+ # install html manual & tutorial
+ cd "${srcdir}/${_pkgname}/data/doc"
+ install -Dm644 *.html -t "${pkgdir}/usr/share/${_pkgname}/data/doc"
+ install -Dm644 img/*.png img/*.h2song -t "${pkgdir}/usr/share/${_pkgname}/data/doc/img"
+ install -Dm644 img/nl/*.png -t "${pkgdir}/usr/share/${_pkgname}/data/doc/img/nl"
+ install -Dm644 img_tutorial/*.png -t "${pkgdir}/usr/share/${_pkgname}/data/doc/img_tutorial"
}
# vim:set ts=2 sw=2 et: