# Maintainer: Ren Tatsumoto pkgname=impd-git pkgver=0.3.r3.gaf9ccd3 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=('ffmpeg' 'mpd') optdepends=( 'mpc: interaction with mpd' 'libnotify: desktop notifications' 'youtube-dl: adding audio from youtube' ) sha256sums=('SKIP') pkgver() { cd "${pkgname}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "${pkgname}" make } package() { cd "${pkgname}" make DESTDIR="${pkgdir}" install install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }