diff options
author | arkandevel | 2021-12-11 16:15:15 +0100 |
---|---|---|
committer | arkandevel | 2021-12-11 16:15:15 +0100 |
commit | 4da8710011b65c98d3c49763d0b6575b3a3158a3 (patch) | |
tree | 55f5b9f3fbc55d513daba3ce53a23a1cbbc3c545 /PKGBUILD | |
download | aur-bootsound-git.tar.gz |
Initial push.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0f50844f4f1e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: MichaĆ <stepien241@gmail.com> +pkgname=bootsound-git +pkgver=r3.4b883ff +pkgrel=1 +pkgdesc="Systemd service that plays a sound at boot with alsa." +arch=(any) +url="https://gitlab.com/michalinteger/bootsound.git" +license=('Unlicense') +depends=(bash systemd alsa-utils) +makedepends=(git) +provides=(bootsound) +source=("git+${url}") +md5sums=("SKIP") + +pkgver() { + cd "$srcdir/bootsound" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd bootsound + bash install.sh "$pkgdir" +} |