mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/sprunge => simplify sprunge paste.
This commit is contained in:
parent
3e6d2f5944
commit
07835958a6
2 changed files with 27 additions and 0 deletions
24
alarm/sprunge/PKGBUILD
Normal file
24
alarm/sprunge/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# ALARM Maintainer: Jason Plum <jplum@archlinuxarm.org>
|
||||||
|
|
||||||
|
# sprunge.us made simple.
|
||||||
|
|
||||||
|
pkgname=sprunge
|
||||||
|
pkgver=1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Siimplifying sprunge.us"
|
||||||
|
arch=(any)
|
||||||
|
url="http://sprunge.us/"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('curl')
|
||||||
|
source=(sprunge.sh)
|
||||||
|
md5sums=(406267e20aabcfc104f0c6823b22e91a)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
echo "sprunge"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir/usr/bin/"
|
||||||
|
cp "$srcdir/sprunge.sh" "$pkgfir/usr/bin/sprunge"
|
||||||
|
}
|
||||||
|
|
3
alarm/sprunge/sprunge.sh
Executable file
3
alarm/sprunge/sprunge.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
curl -F sprunge=@- http://sprunge.us
|
||||||
|
|
Loading…
Reference in a new issue