blob: 0c82b52891bb65e34fd7aa3287d27108515b7d02 (
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
|
appname="zen-adblocker"
pkgname="${appname}"-bin
pkgver="0.5.0"
pkgrel=1
pkgdesc="An open-source system-wide ad-blocker and privacy guard"
arch=('x86_64')
url="https://github.com/anfragment/zen"
license=('MIT')
depends=('networkmanager' 'glib2' 'webkit2gtk')
conflicts=('zen-adblocker')
provides=('zen-adblocker')
source=("Zen_linux_amd64_${pkgver}.tar.gz::https://github.com/anfragment/zen/releases/download/v${pkgver}/Zen_linux_amd64_noselfupdate.tar.gz"
"${appname}.desktop"
"appicon.png::https://github.com/anfragment/zen/blob/v${pkgver}/assets/appicon.png?raw=true"
"LICENSE::https://github.com/anfragment/zen/blob/v${pkgver}/LICENSE?raw=true")
sha256sums=("d77e0919c95576b196cb274ccbd33c9256ad77bd90a547bdf9c84ffd1afadc7b"
"b8fd4a272875b236b953bbeca99459cfcd6d6e10a1d00cf50eaadf742db27fc2"
"86c811ab545ee63d398ddc2da04a75d968d349102a4b73a087e01cebc346f1e2"
"d39888b5658d9207779b855f1626eca78ab97525dc2dbcdb1df4ebc199d414a6")
package() {
install -Dm755 "${srcdir}/Zen" "${pkgdir}/usr/bin/${appname}"
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "./${appname}.desktop" "${pkgdir}/usr/share/applications/${appname}.desktop"
install -Dm644 "./appicon.png" "${pkgdir}/usr/share/pixmaps/${appname}.png"
}
|