diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | hastebin.install | 9 |
3 files changed, 17 insertions, 9 deletions
@@ -1,16 +1,16 @@ pkgbase = hastebin pkgdesc = Upload data to hastebin.com via stdin - pkgver = 1.4.0 + pkgver = 1.5.0 pkgrel = 1 url = https://github.com/kevr/hastebin + install = hastebin.install arch = any license = GPL2 depends = python depends = python-requests optdepends = xclip: default --clip-command conflicts = hastebin-git - source = https://github.com/kevr/hastebin/archive/1.4.tar.gz - sha256sums = a8b5d5164e11cc485e973c8f1d090553e78ff1dfcfe3f3664aa8cea37bef6bd8 + source = https://github.com/kevr/hastebin/archive/refs/tags/1.5.tar.gz + sha256sums = c85bb82389887758b6b8329805a368269247135a8a2e47067a0d9b40e4d08475 pkgname = hastebin - @@ -1,22 +1,21 @@ pkgname='hastebin' -release='1.4' +release='1.5' pkgver="${release}.0" pkgrel=1 pkgdesc='Upload data to hastebin.com via stdin' license=('GPL2') url='https://github.com/kevr/hastebin' - arch=('any') depends=('python' 'python-requests') conflicts=("${pkgname}-git") optdepends=('xclip: default --clip-command') -source=("${url}/archive/${release}.tar.gz") +source=("${url}/archive/refs/tags/${release}.tar.gz") +install='hastebin.install' sha256sums=( - 'a8b5d5164e11cc485e973c8f1d090553e78ff1dfcfe3f3664aa8cea37bef6bd8' + 'c85bb82389887758b6b8329805a368269247135a8a2e47067a0d9b40e4d08475' ) package() { install -Dm755 "${srcdir}/${pkgname}-${release}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" } - diff --git a/hastebin.install b/hastebin.install new file mode 100644 index 000000000000..0f71abc96464 --- /dev/null +++ b/hastebin.install @@ -0,0 +1,9 @@ +post_upgrade() +{ + echo + echo "IMPORTANT:" + echo 'hastebin requires that $HASTEBIN_TOKEN or --token contain a valid ' + echo 'Hastebin API token, which can be generated at ' + echo 'https://www.toptal.com/developers/hastebin/documentation' + echo +} |