summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-07-25 12:14:24 -0700
committerAndy Weidenbaum2016-07-25 12:14:24 -0700
commitfe717d78340a9ed37a2f8601b9dfd31cae4b5107 (patch)
tree89b0b6879ca1e5674cd8dafa81ee40690aa15e18 /PKGBUILD
parent917d279e46d1d6dc5ee35c37a4ac23b604e39f20 (diff)
downloadaur-fe717d78340a9ed37a2f8601b9dfd31cae4b5107.tar.gz
update pkgver to 20160725
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a11e00186f0..275c482a82c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
pkgname=dcrdocs
-pkgver=20160623
+pkgver=20160725
pkgrel=1
pkgdesc="Documentation for Decred"
arch=('any')
@@ -10,17 +10,17 @@ optdepends=('darkhttpd: serve static webpages')
groups=('decred')
url="https://docs.decred.org"
license=('ISC')
-source=($pkgname-$pkgver::git+https://github.com/decred/dcrdocs)
+source=(git+https://github.com/decred/dcrdocs)
sha256sums=('SKIP')
install=dcrdocs.install
pkgver() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
git log -1 --format="%cd" --date=short | sed "s|-||g"
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
msg2 'Building...'
virtualenv .
@@ -36,7 +36,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
msg2 'Installing documentation...'
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/dcrdocs"