summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Enck2018-01-14 17:36:00 -0500
committerSean Enck2018-01-14 17:36:00 -0500
commit423876d4e1155ab28ced6bab9849519f43d0a551 (patch)
tree8d867db0640b803e65567299aa75811984e53f36
parentf0ec0b1106d556cb04132f3c9dbcd4acf7835237 (diff)
downloadaur-423876d4e1155ab28ced6bab9849519f43d0a551.tar.gz
var for raw github content
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b7f1d4a6c55..16c4b5148ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,9 +10,10 @@ license=('MIT')
depends=('python' 'python-pillow' 'python-pygments')
optdepends=("bash-completion: for bash completions")
_md5='b2fe3d58780f42796fb3dfa7c99d1371'
+_rawcontent="https://raw.githubusercontent.com/enckse/$_name/$pkgver/"
source=("https://pypi.python.org/packages/fa/5a/03d6f4e539e0c562472bbf9303c568ac7cdc1f6189640c598051ee4a0abb/$_name-$pkgver.tar.gz#md5=$_md5"
- "https://raw.githubusercontent.com/enckse/$_name/$pkgver/LICENSE"
- "https://raw.githubusercontent.com/enckse/pyxstitch/$pkgver/completions/bash")
+ "${_rawcontent}LICENSE"
+ "${_rawcontent}completions/bash")
md5sums=("$_md5" "09b2ac6fbde8b1a1c4f223aa3ffedbba" "d4f45e5816e653b3ba21c779bbe9e5da")
package() {
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE