blob: 063bc8b818a08052d33a8c9cb39d1c5eac7d2fff (
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
|
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
# All my PKGBUILDs are managed at https://github.com/eli-schwartz/pkgbuilds
pkgname=cinnamon-settings-daemon-git
pkgver=4.4.0.r9.g206ce2d
pkgrel=1
pkgdesc="The Cinnamon Settings daemon"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/${pkgname%-git}"
license=('GPL')
depends=('cinnamon-desktop>=4.4.1.r7.gf2c6cb7' 'colord' 'dbus-glib' 'libcanberra-pulse' 'libcups'
'libgnomekbd' 'libgudev' 'libnotify' 'librsvg' 'libwacom' 'nss' 'polkit'
'pulseaudio-alsa' 'upower')
optdepends=('cinnamon-translations: i18n')
makedepends=('git' 'autoconf-archive' 'intltool' 'python' 'xf86-input-wacom')
provides=("${pkgname%-git}=${pkgver}")
conflicts=("${pkgname%-git}")
options=('!emptydirs')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}"/${pkgname%-git}
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}"/${pkgname%-git}
autoreconf -fi
}
build() {
cd "${srcdir}"/${pkgname%-git}
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir="/usr/lib/${pkgname%-git}" \
--enable-polkit
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "${srcdir}"/${pkgname%-git}
make DESTDIR="${pkgdir}" install
}
|