summaryrefslogtreecommitdiff
path: root/~lukeshu/systemd-timesyncd-wait-git/PKGBUILD
blob: 83c06ddb5cd48b100b66a32d166e113ae7aafe69 (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
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

_pkgname=systemd-timesyncd-wait
pkgver=20170816
pkgdesc="Proper time-sync.target support for systemd-timesyncd"
url="https://lukeshu.com/git/$_pkgname.git"
license=('Apache')

pkgrel=1
arch=('i686' 'x86_64')
depends=('systemd')
makedepends=('go')
source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('3f2e9a7f7bce792eabce614dc9628667')

pkgname=$_pkgname-git
provides=($_pkgname)
conflicts=($_pkgname)

_gitver='commit=0607a0add0b3ac72169be53d072db48c31a018d7'
mkdepends=('git')
mksource=("$_pkgname-$pkgver::git://git.lukeshu.com/$_pkgname.git#$_gitver")
mkmd5sums=('SKIP')

_makeflags=(
  prefix=/usr
)

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  make "${_makeflags[@]}"
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make  "${_makeflags[@]}" install DESTDIR="$pkgdir"
}