summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederick Zhang2019-12-16 16:39:01 +1100
committerFrederick Zhang2019-12-16 16:39:01 +1100
commit426e74554887aa3e77610dfdc82a62a723a8c516 (patch)
treec405f95d845a4a173a361d736db3a840b0a2e3c5
parentc1b10b8536c642fa98e699a955d41fa68db9201f (diff)
downloadaur-426e74554887aa3e77610dfdc82a62a723a8c516.tar.gz
fix doc paths
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f86e0a53b30..79fdf079301 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = q
pkgdesc = SQL-like queries on tabular text data, including joins and subqueries
pkgver = 2.0.6
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/harelba/q
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 8f6c9a989fc..a20857cd05f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=q
pkgver=2.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="SQL-like queries on tabular text data, including joins and subqueries"
url="https://github.com/harelba/q"
license=('GPL3')
@@ -13,8 +13,9 @@ source=("https://github.com/harelba/packages-for-q/raw/master/rpms/q-text-as-dat
sha256sums=('d012b7f5276cfa630c518906da7d2aec4b6556f20594b76957549dbc3f5b0d92')
package() {
+ cd "${srcdir}/"
install -D -m755 "${srcdir}/usr/share/q-text-as-data/q" "${pkgdir}/usr/bin/${pkgname}"
- for doc in "${srcdir}/usr/share/doc/q-text-as-data-${pkgver}/"*; do
+ for doc in "usr/share/doc/q-text-as-data-${pkgver}/"*; do
install -D -m644 "$doc" "${pkgdir}/usr/share/doc/q-text-as-data-${pkgver}/$doc"
done
install -D -m755 "${srcdir}/usr/share/man/man1/${pkgname}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"