blob: d1a2da9b9ce3c99cae82d004a74a300a2f8637d5 (
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
34
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Contributor: Sibren Vasse <arch at sibrenvasse dot nl>
# Contributor: demian <mikar ατ gmx δοτ de>
pkgname=blockify-git
pkgver=v3.6.3.r24.g370d321
pkgrel=2
pkgdesc="Mutes Spotify advertisements."
arch=("any")
url="https://github.com/carlocastoldi/blockify"
license=("MIT")
depends=("spotify" "pulseaudio" "alsa-utils" "wmctrl" "libwnck3" "pygtk"
"gst-python" "python-dbus" "python-setuptools" "python-docopt")
makedepends=("python-build" "python-installer" "python-wheel")
conflicts=("blockify")
provides=("blockify")
source=("${pkgname}::git+https://github.com/carlocastoldi/blockify#branch=pipewire")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/[_-]/./g'
}
build() {
cd "${srcdir}/${pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 "${srcdir}/${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
|