summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Morris2020-10-19 19:16:45 -0700
committerKevin Morris2020-10-19 19:16:45 -0700
commit29aa242e78550ffc671ab845f31d71a10f11b894 (patch)
tree574ade0be170d743f2b39a635038f83fd0f77369
parentb26ceebe75b5c4370843e286a138aad4f48c690d (diff)
downloadaur-29aa242e78550ffc671ab845f31d71a10f11b894.tar.gz
Bump PKGBUILD to release version 1.1.0
Signed-off-by: Kevin Morris <kevr@0cost.org>
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a0e571029e..f96b94bfc71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = hastebin
pkgdesc = Upload data to hastebin.com via stdin
- pkgver = 1.0
+ pkgver = 1.1.0
pkgrel = 1
url = https://github.com/kevr/hastebin
arch = any
license = GPL2
depends = python
depends = python-requests
- source = hastebin
- sha256sums = b2ac5a7a8fab997e0b9454fcd54eaf8d3fc2a937bcca8bd2605d2bdd6a04a789
+ optdepends = xclip: default --clip-command
+ conflicts = hastebin-git
+ source = https://github.com/kevr/hastebin/archive/1.1.tar.gz
+ sha256sums = 3224443261007c4a933bcda1a3cad5d050d3ea622a23d4043d3abfd714e66f45
pkgname = hastebin
diff --git a/PKGBUILD b/PKGBUILD
index f95a984575b..df761d6c7d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,6 @@
pkgname='hastebin'
-pkgver=1.0
+release='1.1'
+pkgver="${release}.0"
pkgrel=1
pkgdesc='Upload data to hastebin.com via stdin'
license=('GPL2')
@@ -7,13 +8,15 @@ url='https://github.com/kevr/hastebin'
arch=('any')
depends=('python' 'python-requests')
-source=('hastebin')
+conflicts=("${pkgname}-git")
+optdepends=('xclip: default --clip-command')
+source=("${url}/archive/${release}.tar.gz")
sha256sums=(
- 'b2ac5a7a8fab997e0b9454fcd54eaf8d3fc2a937bcca8bd2605d2bdd6a04a789'
+ '3224443261007c4a933bcda1a3cad5d050d3ea622a23d4043d3abfd714e66f45'
)
package()
{
- install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm755 "${srcdir}/${pkgname}-${release}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}