blob: 07d9d88faa955047f9be8c14c39ed5120c233267 (
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
|
# Maintainer: 7Ji <pugokushin@gmail.com>
pkgname=sd-networkd-wg-ddns
pkgver=1.1.1
pkgrel=1
pkgdesc="Systemd-networkd wireguard netdev endpoints DynDNS updater."
arch=('x86_64' 'aarch64')
url="https://github.com/7Ji/${pkgname}"
license=('AGPL3')
depends=('systemd')
_srcname="${pkgname}-${pkgver}"
source=(
"${_srcname}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=(
'42fb6362cc058c991934425c05dcb1daeb0ee41bb5fc74377e7fd7fe0086d73f'
)
build() {
cd "${_srcname}"
make "VERSION=${pkgver}-ArchLinux-${pkgrel}"
}
package() {
backup=("etc/conf.d/${pkgname}")
cd "${_srcname}"
make install DESTDIR="${pkgdir}"
}
|