blob: d8c22be477313c0fe803307c55f730ca0936de46 (
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
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
_pkgname=netctl-network-online
pkgname=$_pkgname-git
pkgver=20160531
_gitver=7e05800cefd742ff5991931d69cc28791a06a476
pkgdesc="network-online.target integration for netctl"
url="https://lukeshu.com/git/$_pkgname.git"
license=('WTFPL')
provides=($_pkgname)
conflicts=($_pkgname)
pkgrel=1
arch=('any')
depends=('netctl')
source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('1d062bd19ee6ece6c8006a8b8e68c683')
mkdepends=('git')
mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#commit=$_gitver")
mkmd5sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver"
make sysconfdir=/etc prefix=/usr
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install sysconfdir=/etc prefix=/usr DESTDIR="$pkgdir"
install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
}
|