summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Morris2018-03-06 16:35:32 -0800
committerKevin Morris2018-03-06 16:35:32 -0800
commit6dcb4c690fca8e728e1171d62f44925adf0d4def (patch)
tree29117960f30bcdada4968e776e0e38e9ce038fad
parent4bc97dd9602cb42b71fb12a609d00dfee6cc70b0 (diff)
downloadaur-6dcb4c690fca8e728e1171d62f44925adf0d4def.tar.gz
update hastebin to stop using git revs... this isn't a git package
Signed-off-by: Kevin Morris <kevin.morris@stratodesk.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 2 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 82f3d6a6099..5eb68008de3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = hastebin
pkgdesc = Upload data to hastebin.com via stdin
- pkgver = r5.ef0fd37
+ pkgver = 1.0
pkgrel = 1
url = https://github.com/kevr/sprunge
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 7fb36c05fbe..e4c042feccb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname='hastebin'
-pkgver=r5.ef0fd37
+pkgver=1.0
pkgrel=1
pkgdesc='Upload data to hastebin.com via stdin'
license=('GPL2')
@@ -12,10 +12,6 @@ sha256sums=(
'b2ac5a7a8fab997e0b9454fcd54eaf8d3fc2a937bcca8bd2605d2bdd6a04a789'
)
-pkgver() {
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
package()
{
install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"