blob: 6aa11cddfb2bf5b48d508e068dc727c4b7530517 (
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
|
# Maintainer: Marc Vidal <mvidaldp@gmail.com>
pkgname=adguardhome-bin
_pkgname=AdGuardHome
pkgver=0.107.30
_pkgver="v${pkgver}"
pkgrel=1
pkgdesc='Network-wide ads and trackers blocking DNS server (binary version).'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/AdguardTeam/AdGuardHome'
license=('GPL')
provides=("${pkgname}")
conflicts=('adguardhome')
install=adguardhome-bin.install
_releaseurl="${url}/releases/download/${_pkgver}"
source_i686=("${_pkgname}-${pkgver}.tar.gz::${_releaseurl}/${_pkgname}_linux_386.tar.gz")
source_x86_64=("${_pkgname}-${pkgver}.tar.gz::${_releaseurl}/${_pkgname}_linux_amd64.tar.gz")
source_armv7h=("${_pkgname}-${pkgver}.tar.gz::${_releaseurl}/${_pkgname}_linux_armv7.tar.gz")
source_aarch64=("${_pkgname}-${pkgver}.tar.gz::${_releaseurl}/${_pkgname}_linux_arm64.tar.gz")
sha256sums_i686=('c3810f92cb5b7744d38223ee7af1c3b7ea1ad9c7940a2d74ca24b93f2eea422a')
sha256sums_x86_64=('6dafd5e5cacf4f2e12fb80e81161638e163fe98a5df26281dd2fd7468e630105')
sha256sums_aarch64=('fc4f586a366cf965fd16b970dda703de753e4e2627a66593ad18e1fa42b31447')
sha256sums_armv7h=('9e9d3bf8eb04ff151ad5e82e81193274aa2b7bab79fd5e9734316014dd51c685')
package() {
install -Dm755 "${_pkgname}/${_pkgname}" "${pkgdir}/var/lib/adguardhome/${_pkgname}"
install -Dm644 "../adguardhome.service" "${pkgdir}/usr/lib/systemd/system/adguardhome.service"
}
|