blob: a1b6af7c2827ee47963f278ce28e890f7e4233f4 (
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
|
# Maintainer: Silvio Knizek <killermoehre@gmx.net>
_pkgname=xfconf
pkgname="${_pkgname}-git"
pkgver=4.16.0+102+gb836868
pkgrel=1
pkgdesc="A simple client-server configuration storage and query system - git checkout"
arch=('i686' 'x86_64')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
depends=('libxfce4util' 'dbus-glib')
makedepends=('intltool' 'git' 'xfce4-dev-tools' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'glib-perl' 'chrpath')
provides=("${_pkgname}=${pkgver}")
conflicts=("$_pkgname" 'terminal')
replaces=("$_pkgname" 'terminal')
source=("git+https://gitlab.xfce.org/xfce/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed -r "s:^${_pkgname}.::;s/^v//;s/^xfce-//;s/-/+/g"
}
build() {
cd "$srcdir/$_pkgname"
./autogen.sh \
--disable-dependency-tracking \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
--disable-static \
--enable-gtk-doc \
--enable-checks \
--with-perl-options=INSTALLDIRS="vendor"
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
# Fix insecure rpath, http://bugs.archlinux.org/task/19980
find "$pkgdir" -name Xfconf.so -exec chrpath -d {} +
}
|