diff options
author | Asger Hautop Drewsen | 2017-10-30 23:42:50 +0100 |
---|---|---|
committer | Asger Hautop Drewsen | 2017-10-30 23:45:54 +0100 |
commit | 00910c3579fe1cb3f248dcfd6d02e54014477cb2 (patch) | |
tree | 307e77105776cf35c7a036a58468e6e636fb8290 | |
download | aur-00910c3579fe1cb3f248dcfd6d02e54014477cb2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rwxr-xr-x | benny-hill | 5 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..115f7d1e146b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = benny-hill + pkgdesc = Play the Benny Hill theme while running another command + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/Tyilo/albert-extensions + arch = any + license = GPL + depends = bash + depends = sox + depends = twolame + source = benny-hill + source = https://github.com/mafintosh/benny-hill/blob/master/theme.mp3?raw=true + sha256sums = 99c5aa30f43a75dbd81fda811606dd75ea8f081f4d52a794d10b0038ec00dcff + sha256sums = b8e9774023ebe20e27bfb7ae139cbe994f05690f7c8ec9835ff5f0d94ec45fc7 + +pkgname = benny-hill + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c97232fd2caa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Asger Hautop Drewsen <asgerdrewsen@gmail.com> +pkgname=benny-hill +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Play the Benny Hill theme while running another command" +arch=('any') +url="https://github.com/Tyilo/albert-extensions" +license=('GPL') +depends=('bash' 'sox' 'twolame') +source=( +"benny-hill" +"https://github.com/mafintosh/benny-hill/blob/master/theme.mp3?raw=true" +) +sha256sums=('99c5aa30f43a75dbd81fda811606dd75ea8f081f4d52a794d10b0038ec00dcff' + 'b8e9774023ebe20e27bfb7ae139cbe994f05690f7c8ec9835ff5f0d94ec45fc7') + +package() { + install -D "${srcdir}/theme.mp3?raw=true" "${pkgdir}/opt/benny-hill/benny-hill.mp3" + install -D "${srcdir}/benny-hill" "${pkgdir}/usr/bin/benny-hill" +} diff --git a/benny-hill b/benny-hill new file mode 100755 index 000000000000..81b608ad281a --- /dev/null +++ b/benny-hill @@ -0,0 +1,5 @@ +#!/bin/bash +trap "exit" INT TERM +trap "kill 0" EXIT +play -q /opt/benny-hill/benny-hill.mp3 repeat - & +"$@" |