blob: 31a3071854e7bb5f4c2ae30b1128e37b37f6bf51 (
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
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Ner0 <darkelfdarkelf666@yahoo.co.uk>
# Contributor: dserban <dserban01@yahoo.com>
pkgname=switchboard
pkgver=2.3.0
pkgrel=1
pkgdesc='The Pantheon Control Center'
arch=('x86_64')
url='https://github.com/elementary/switchboard'
license=('GPL3')
groups=('pantheon')
depends=('clutter-gtk' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'libgee' 'wayland'
'libgranite.so')
makedepends=('cmake' 'intltool' 'vala')
optdepends=('switchboard-plug-about: About plug'
'switchboard-plug-applications: Applications plug'
'switchboard-plug-datetime: Date & Time plug'
'switchboard-plug-desktop: Desktop plug'
'switchboard-plug-display: Display plug'
'switchboard-plug-elementary-tweaks: Elementary Tweaks plug'
'switchboard-plug-keyboard: Keyboard plug'
'switchboard-plug-locale: Locale plug'
'switchboard-plug-network: Network plug'
'switchboard-plug-notifications: Notifications plug'
'switchboard-plug-power: Power plug'
'switchboard-plug-security-privacy: Security & Privacy plug')
provides=('libswitchboard-2.0.so')
source=("switchboard-${pkgver}.tar.gz::https://github.com/elementary/switchboard/archive/${pkgver}.tar.gz")
sha256sums=('3ad8a145691a91c708c17919683eee533f0fbf3ce9bc04298e723a7b750c2166')
prepare() {
if [[ -d build ]]; then
rm -rf build
fi
mkdir build
}
build() {
cd build
cmake ../switchboard-${pkgver} \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_INSTALL_LIBDIR='/usr/lib' \
-DGSETTINGS_COMPILE='OFF' \
-DUSE_UNITY='OFF'
make
}
package() {
make DESTDIR="${pkgdir}" -C build install
}
# vim: ts=2 sw=2 et:
|