aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/sprunge/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/sprunge/APKBUILD b/main/sprunge/APKBUILD
index 84b23c5e93..ddeea30147 100644
--- a/main/sprunge/APKBUILD
+++ b/main/sprunge/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sprunge
-pkgver=0.3
+pkgver=0.4
pkgrel=0
pkgdesc="Helper script to paste things to http://sprunge.us"
url="http://sprunge.us"
@@ -26,6 +26,8 @@ build() {
case \${0##*/} in
sprunge)
exec curl -F 'sprunge=<-' http://sprunge.us;;
+ tpaste)
+ exec curl -F 'tpaste=<-' http://tpaste.us;;
dpaste)
exec curl --silent -F 'content=<-' https://dpaste.de/api/ \
| sed -e 's/"//g' -e 's/\$/\/raw\n/';;
@@ -38,7 +40,7 @@ EOF
package() {
cd "$_builddir"
install -Dm755 sprunge "$pkgdir"/usr/bin/sprunge || return 1
- for i in dpaste ix; do
+ for i in tpaste dpaste ix; do
ln -s sprunge "$pkgdir"/usr/bin/$i || return 1
done
}