summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKean Sum Ooi2017-10-01 11:33:28 +0800
committerKean Sum Ooi2017-10-01 11:33:28 +0800
commit421b222f6607364c5782b1719c1e42cda9017cc4 (patch)
treee64d6a33cbe31f12a1ea98af8d93173955018ee3
parent284b50db16301c2e20362003521ae73082d6ad38 (diff)
downloadaur-htcap-git.tar.gz
htcap now installed to /usr/bin/ instead of /usr/local/bin/ as per the Arch PKGBUILD guidelines
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--htcap.install4
3 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6e1aac6ab5de..28888123fd96 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = htcap-git
pkgdesc = Single Page Application (SPA) crawler by intercepting AJAX calls and DOM changes
pkgver = 1.0.1.r36.gdcc0078
- pkgrel = 1
+ pkgrel = 2
url = http://htcap.org/
install = htcap.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 83e594c56f2b..ad12e2c896c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=htcap-git
_pkgname=htcap
pkgver=1.0.1.r36.gdcc0078
-pkgrel=1
+pkgrel=2
pkgdesc="Single Page Application (SPA) crawler by intercepting AJAX calls and DOM changes"
arch=('x86_64' 'i686')
url="http://htcap.org/"
diff --git a/htcap.install b/htcap.install
index e0ab69d906bb..2033d643bf2d 100644
--- a/htcap.install
+++ b/htcap.install
@@ -1,9 +1,9 @@
# arg 1: the new package version
post_install() {
- ln -s /usr/share/htcap/htcap.py /usr/local/bin/htcap
+ ln -s /usr/share/htcap/htcap.py /usr/bin/htcap
}
# arg 1: the old package version
pre_remove() {
- rm /usr/local/bin/htcap
+ rm /usr/bin/htcap
}