summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f50844f4f1e8824370cb1c84ce41df26aa39b30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
}