summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-05-11 06:23:24 +0300
committerDimitris Kiziridis2020-05-11 06:23:24 +0300
commit569327348c0ea9186605e6a59b142b12e6c7244d (patch)
treef26fb552d35d1f557d3b59a07da4cdd215cfc6aa
parentf84b9d5861f82b96b606b6eb8424ef02dcd8373d (diff)
downloadaur-edcount.tar.gz
sanitize pkgbuild
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cf1d75243e12..bbf5ea6eab77 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,9 +4,10 @@ pkgbase = edcount
pkgrel = 1
url = https://github.com/haroldfreeman/edcount
arch = x86_64
- license = GPL-3.0
- source = https://github.com/haroldfreeman/edcount/releases/download/v1.2.0/edcount-1.2.0.tar.gz
- md5sums = d66fabc13d1112a936e14bf0ac14e6d1
+ license = GPL3
+ depends = glibc
+ source = edcount-1.2.0.tar.gz::https://github.com/haroldfreeman/edcount/releases/download/v1.2.0/edcount-1.2.0.tar.gz
+ sha256sums = 9b5561aa32ef81096132e84cb1544231c71bad77c0eaeb6a854ae3b4c2938a3d
pkgname = edcount
diff --git a/PKGBUILD b/PKGBUILD
index 787e029582c7..32a0a642ff39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,9 +6,10 @@ pkgrel=1
pkgdesc='Estimate distinct count of values from standard input. Provides a very fast way to perform unique count estimates on the command line'
arch=('x86_64')
url='https://github.com/haroldfreeman/edcount'
-license=('GPL-3.0')
-source=("${url}/releases/download/v${pkgver}/edcount-${pkgver}.tar.gz")
-md5sums=('d66fabc13d1112a936e14bf0ac14e6d1')
+license=('GPL3')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/edcount-${pkgver}.tar.gz")
+sha256sums=('9b5561aa32ef81096132e84cb1544231c71bad77c0eaeb6a854ae3b4c2938a3d')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"