summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlair Bonnett2019-02-17 06:03:15 +0100
committerBlair Bonnett2019-02-17 06:03:31 +0100
commite641dee169afca0d0ef612df974ba0c44236c17f (patch)
treedf44d54ddd9772d357e6abcc75c7816df01b3622
parent0b408bc3ae12e857e5e018f2c9ef34c564214f91 (diff)
downloadaur-e641dee169afca0d0ef612df974ba0c44236c17f.tar.gz
Use $srcdir for path to patches.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b9d55421f4a2..e7e512d28d94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wispr
pkgdesc = Simple command-line tool to authenticate against a WISPr server
pkgver = 1.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/wichert/wispr
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 30c0241fa10f..3e28ad7858c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wispr
pkgver=1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Simple command-line tool to authenticate against a WISPr server"
url="https://github.com/wichert/wispr"
arch=('any')
@@ -21,8 +21,8 @@ sha256sums=(
prepare() {
cd "wispr-release-$pkgver"
- patch -Np1 -i ../../python3.patch
- patch -Np1 -i ../../timeout.patch
+ patch -Np1 -i "${srcdir}/python3.patch"
+ patch -Np1 -i "${srcdir}/timeout.patch"
}
build() {