blob: 0ebaf5fae5f8a5fdcc1b1f1d0eecb09ccd68f13b (
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
41
42
43
44
45
|
# Maintainer: Conrad Hoffmann <ch@bitfehler.net>
pkgname=netplan
pkgver=0.98
pkgrel=1
pkgdesc="The network configuration abstraction renderer"
arch=('i686' 'x86_64')
url="https://netplan.io"
license=('GPL3')
depends=(
'glib2'
'python-yaml'
'python-netifaces'
'iproute2'
)
makedepends=(
'python'
'pkgconf'
'pandoc'
)
source=(
"https://github.com/CanonicalLtd/${pkgname}/archive/${pkgver}.tar.gz"
'make-fixes.patch'
)
sha256sums=(
'2cc5511eb1675950f37c361e3056fcb17ca213998db7911cbe34511362641d92'
'7c4f0ca9fa822a5493a3d7dbad2c374cfc489699d4aa105784519617a841deb8'
)
prepare(){
cd "${pkgname}-${pkgver}"
patch -Np1 -i "$srcdir/make-fixes.patch"
env
}
build(){
cd "${pkgname}-${pkgver}"
env
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR=${pkgdir}/ ROOTPREFIX=/usr SBINDIR=/usr/bin install
}
|