summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05157919cd662831387633d7c40ce11ddd49124d (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
# Maintainer: Callum Mance <callummance@gmail.com>
pkgname=cf-update-git
pkgver=v0.1.r2.g9f963c8
pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
pkgrel=1
epoch=
pkgdesc="Updater for Cloudflare DNS records"
arch=('any')
url="https://github.com/callummance/CF-Update"
license=('GPL3')
groups=()
depends=('python')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=('etc/cf-update/cf.conf')
options=()
install=
changelog=
source=("$pkgname::git+https://github.com/callummance/CF-Update.git")
noextract=()
validpgpkeys=()

package() {
	cd "$pkgname"
	mkdir -p "$pkgdir/usr/bin"
	mkdir -p "$pkgdir/etc/cf-update"
	install -m 755 -t "${pkgdir}/usr/bin/" ./cf-update
	install -m 644 -t "${pkgdir}/etc/cf-update/" ./cf.conf
}
sha256sums=('SKIP')
sha512sums=('SKIP')
sha1sums=('SKIP')
md5sums=('SKIP')