diff options
author | Wyatt J. Brown | 2015-06-15 22:31:30 -0400 |
---|---|---|
committer | Wyatt J. Brown | 2015-06-15 22:31:30 -0400 |
commit | 2715417a61a31e981efabb9ec46468197d70ef5e (patch) | |
tree | 5752f8f7c8aefcedb5f260e74071cf83e1ca7a09 /PKGBUILD | |
download | aur-2715417a61a31e981efabb9ec46468197d70ef5e.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3eda06810c93 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Wyatt J. Brown <sushidudeteam@gmail.com> +pkgname=rice +pkgver=r20.3c2efcd +pkgrel=4 +pkgdesc='A dump of scripts that are used for fun/rice, as seen on TV^H^H the internet.' +arch=('any') +url='https://github.com/janbrennen/rice' +license=('custom:Public Domain') +depends=('lua') +source=('https://github.com/janbrennen/rice/archive/3c2efcd9cc6fb7fcb398f4220d53080b95fb28e2.zip') +sha512sums=('96a8fc9c5ed476db3917bcc1533e456a4afa27185d112f713dfbe2a2cf1a19adc9f13b49f98e31573bc0e906751f35794c7b4095b5ff78e2ddba36bf08bfb345') + +build() +{ + cd "$srcdir"/rice-* + + if [ -z "$CC" ]; then + CC=gcc + fi + $CC $CPPFLAGS $CFLAGS -lpthread hack.exe.c -o hack.exe.out +} + +package() +{ + cd "$srcdir"/rice-* + + install -Dm755 256color.pl "$pkgdir/usr/bin/256color" + + sed -i '1i#!/usr/bin/lua' 3spooky.lua + install -Dm755 3spooky.lua "$pkgdir/usr/bin/3spooky" + + install -Dm755 hackertyper.sh "$pkgdir/usr/bin/hackertyper" + + install -Dm755 hack.exe.out "$pkgdir/usr/bin/hack.exe" + + install -Dm755 pipes.sh "$pkgdir/usr/bin/pipes" + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + echo 'This script is currently in the Public Domain.' > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |