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

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

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

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

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

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  make
}

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