summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederick Zhang2020-12-10 16:24:14 +1100
committerFrederick Zhang2020-12-10 16:24:14 +1100
commit9cba8170346af788bb3ed34278245c38e5f619a7 (patch)
tree4a11a2b4c989d2c894c87ef426b46036578648ce
parent55973f14256833e64fca8b2726103c9a2516a064 (diff)
downloadaur-9cba8170346af788bb3ed34278245c38e5f619a7.tar.gz
Bump to 2.0.19
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 36778957746..c27d75e8c85 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = q
pkgdesc = SQL-like queries on tabular text data, including joins and subqueries
- pkgver = 2.0.16
+ pkgver = 2.0.19
pkgrel = 1
url = https://github.com/harelba/q
arch = x86_64
license = GPL3
depends = python
- source = https://github.com/harelba/packages-for-q/raw/master/rpms/q-text-as-data-2.0.16-1.x86_64.rpm
- sha256sums = c348add454f42a65afb78af40735980f7c5a43bbac88c2d1a70304f752817ce1
+ source = https://github.com/harelba/q/releases/download/2.0.19/q-text-as-data-2.0.19-1.x86_64.rpm
+ sha256sums = b233f1e2eb3dc913dac7d138e439b14c8e8872ce1e49289a62b817d4ce1e9484
pkgname = q
diff --git a/PKGBUILD b/PKGBUILD
index 72b0f8a2bda..cd2a97e8242 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,25 @@
# Contributor: Fabien Dubosson <fabien.dubosson@gmail.com>
pkgname=q
-pkgver=2.0.16
+pkgver=2.0.19
pkgrel=1
pkgdesc="SQL-like queries on tabular text data, including joins and subqueries"
url="https://github.com/harelba/q"
license=('GPL3')
arch=('x86_64')
depends=('python')
-source=("https://github.com/harelba/packages-for-q/raw/master/rpms/q-text-as-data-${pkgver}-1.x86_64.rpm")
-sha256sums=('c348add454f42a65afb78af40735980f7c5a43bbac88c2d1a70304f752817ce1')
+source=("https://github.com/harelba/q/releases/download/${pkgver}/q-text-as-data-${pkgver}-1.x86_64.rpm")
+sha256sums=('b233f1e2eb3dc913dac7d138e439b14c8e8872ce1e49289a62b817d4ce1e9484')
package() {
cd "${srcdir}/"
install -D -m755 "${srcdir}/usr/share/q-text-as-data/q" "${pkgdir}/usr/bin/${pkgname}"
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"
+ if [[ "${doc##*/}" == "LICENSE" ]]; then
+ install -D -m644 "${doc}" "${pkgdir}/usr/share/license/q-text-as-data/${doc##*/}"
+ else
+ install -D -m644 "${doc}" "${pkgdir}/usr/share/doc/q-text-as-data/${doc##*/}"
+ fi
done
install -D -m755 "${srcdir}/usr/share/man/man1/${pkgname}.1.gz" "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz"
}