blob: 4ffa866abeccd7ec7acd974b45fd71820dcdc8c6 (
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
|
# Maintainer: Iwan Timmer <irtimmer@gmail.com>
# Contributor: Mark Constable <markc@renta.net>
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=cockpit
pkgver=0.69
pkgrel=1
pkgdesc='A systemd web based user interface for Linux servers'
arch=(i686 x86_64)
url='http://www.cockpit-project.org/'
license=(LGPL2.1)
conflicts=(cockpit-git)
depends=(libssh krb5 sshpass accountsservice perl-json perl-locale-po json-glib pcp glib-networking)
makedepends=(git intltool python2-pyscss gtk-doc perl-javascript-minifier-xs gobject-introspection networkmanager libgsystem xmlto npm)
optdepends=(storaged udisks2 networkmanager)
source=(https://github.com/cockpit-project/cockpit/archive/${pkgver}.tar.gz)
sha1sums=('628a2a4f3dd8c298d067d29c5cc432ccde7ec2f0')
prepare() {
cd cockpit-${pkgver}
}
build() {
cd cockpit-${pkgver}
# Build failed with --as-needed
export LDFLAGS="${LDFLAGS//,--as-needed}"
mkdir -p build
cd build
../autogen.sh
../configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
make
}
package() {
cd cockpit-${pkgver}/build
make DESTDIR="$pkgdir" install
}
|