summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c399e63c177db31dd92dc1e95dd37191eae7489b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Ren Tatsumoto <tatsu at autistici dot org>

pkgname=impd-git
conflicts=('impd')
provides=('impd')
pkgver=0.8.r1.g0ec9ab5
pkgrel=1
pkgdesc="Manage passive immersion and create condensed audio."
arch=(any)
url="https://github.com/Ajatt-Tools/impd"
license=("GPL3")
source=("${pkgname}::git+${url}")
depends=('bash' 'file' 'gawk' 'ffmpeg' 'mpd' 'xdg-user-dirs')
makedepends=('git')
optdepends=(
	'mpc: interaction with mpd'
	'libnotify: desktop notifications'
	'youtube-dl: adding audio from youtube'
	'yt-dlp: adding audio from youtube'
)
sha256sums=('SKIP')

pkgver() {
	cd -- "${pkgname}"
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd -- "${pkgname}"
	make DESTDIR="${pkgdir}" install
	install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
	install -Dm0644 README.md "${pkgdir}/usr/share/doc/${pkgname%-git}/README"
}