blob: bb5a4feaa320305491f6d3cc0658ba1d929af128 (
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
35
36
37
38
39
40
41
|
# Maintainer: Yuri Pieters <magejohnyjtp at gmail dot com>
pkgname=spotify-adkiller-dns-block-git
pkgver=r82.1184e1e
pkgrel=2
pkgdesc='Experimental dns blocking from Spotify AdKiller'
arch=('i686' 'x86_64')
url=https://github.com/SecUpwN/Spotify-AdKiller
license=('GPL3')
depends=('spotify')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url.git#branch=dns-block"
"${pkgname%-git}"
"${pkgname%-git}.desktop")
sha512sums=('SKIP'
'31670a77b13d5a38dcfe96ccf5892996800b76d683071a46f27f647e353ad0e6adf95e3b2fbad9871f6296fc374fdb793d374d53cb5fd899949e694f5d579fab'
'3a38a5634ef8fb82212f44b021b614bbad2682129ec21a5e90fd00fc60f66da025cb61a3960d7b16b12e7d54773bb3cc4f9c14b867febabb3e2cd232a7455686')
pkgver() {
cd "${url##*/}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${url##*/}"
}
build() {
cd "${url##*/}"/experimental
make
}
package() {
install -D "${url##*/}"/experimental/dns-block.so -t "$pkgdir"/usr/lib/"${pkgname%-git}"/
install -D "${pkgname%-git}" -t "$pkgdir"/usr/bin/
install -D -m644 "${pkgname%-git}.desktop" -t "$pkgdir"/usr/share/applications/
}
|