summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD9
2 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2329e55a99b..3e3d9ada302 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
# Generated by mksrcinfo v8
-# Wed Dec 21 13:16:09 UTC 2016
+# Mon Aug 29 06:32:03 UTC 2016
pkgbase = sloc
pkgdesc = Simple source-lines-of-code counter
pkgver = 0.3.1
- pkgrel = 3
+ pkgrel = 2
url = http://git.bytbox.net/sloc/
arch = i686
arch = x86_64
license = MIT
- makedepends = go
+ makedepends = git
+ depends = go
optdepends = perl-datetime
optdepends = perl-json
optdepends = perl-switch
optdepends = gnuplot
- source = sloc-0.3.1.tar.gz::https://github.com/polyzen/sloc/archive/v0.3.1.tar.gz
- sha512sums = a95fbbba9a4e946536edc00fdd20130884f578892562320c4d9beb8c1123ff589f47b1f2d20b4417f909f0256e4277c3db42552af27822221f2bf4413c0c3930
+ source = sloc::git+http://git.bytbox.net/sloc/#tag=v0.3.1
+ sha256sums = SKIP
pkgname = sloc
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