summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98ba6497332e44e181485df8d269cb6d562da823 (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
# Maintainer: Sibren Vasse <arch at sibrenvasse dot nl>
# Contributor: demian <mikar ατ gmx δοτ de>
pkgname=blockify-git
pkgver=v3.0.1.r0.g942a37b
pkgrel=1
pkgdesc="Mutes Spotify advertisements."
arch=("any")
url="https://github.com/mikar/blockify"
license=("MIT")
depends=("spotify" "pulseaudio" "alsa-utils" "wmctrl" "libwnck3" "pygtk"
         "gst-python" "python-dbus" "python-setuptools")
optdepends=("python-docopt")
conflicts=("blockify")
provides=("blockify")
source=("$pkgname::git+https://github.com/mikar/blockify")
sha256sums=('SKIP')

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

package() {
    cd "${srcdir}/${pkgname}"

    python setup.py install --root="${pkgdir}"
}