blob: fea95ff267508d8491d3eaf271ef10a879e20eca (
plain)
1 # Description: Pipe commands to a pastebin site.
2 # URL: http://wgetpaste.zlin.dk/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Danny Rawlins, monster dot romster at gmail dot com
5
6 name=wgetpaste
7 version=2.19
8 release=1
9 source=(http://wgetpaste.zlin.dk/$name-$version.tar.bz2
10 http://wgetpaste.zlin.dk/zlin.conf)
11
12 build() {
13 # adjust including files as per http://wgetpaste.zlin.dk/inst.bash
14 cd $name-$version
15 install -d $PKG/usr/bin $PKG/usr/etc/wgetpaste.d
16
17 cat wgetpaste _wgetpaste \
18 | sed 's|for f in {/etc/|for f in {/usr/etc/|' \
19 | sed 's|/etc/wgetpaste.d|/usr/etc/wgetpaste.d|' \
20 > $PKG/usr/bin/wgetpaste
21
22 install -m 0644 $SRC/zlin.conf $PKG/usr/etc/wgetpaste.d
23 chmod +x $PKG/usr/bin/wgetpaste
24 }
|