summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel M. Capella2016-12-21 09:49:04 -0500
committerDaniel M. Capella2016-12-21 09:51:00 -0500
commitf23354187b73c6f4f4ecf95160e9e5814121c946 (patch)
treeb42a2c5ae91aae42d7c636f6ad971e69aedd79df /PKGBUILD
parent6aa3f61ab8bf85458568fe2c06d47ab596bb46e6 (diff)
downloadaur-f23354187b73c6f4f4ecf95160e9e5814121c946.tar.gz
Revert "Source from unofficial mirror"
This reverts commit 6aa3f61ab8bf85458568fe2c06d47ab596bb46e6. Author brought the sources back up already. :)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c7788c70ebd..82cc4e18330 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,16 @@
pkgname=sloc
pkgver=0.3.1
-pkgrel=3
+pkgrel=2
pkgdesc='Simple source-lines-of-code counter'
arch=('i686' 'x86_64')
url=http://git.bytbox.net/sloc/
license=('MIT')
-makedepends=('go')
+depends=('go')
optdepends=('perl-datetime' 'perl-json' 'perl-switch' 'gnuplot')
-source=("sloc-$pkgver.tar.gz::https://github.com/polyzen/sloc/archive/v$pkgver.tar.gz")
-sha512sums=('a95fbbba9a4e946536edc00fdd20130884f578892562320c4d9beb8c1123ff589f47b1f2d20b4417f909f0256e4277c3db42552af27822221f2bf4413c0c3930')
+makedepends=('git')
+source=("sloc::git+$url/#tag=v$pkgver")
+sha512sums=('SKIP')
build() {
cd sloc