blob: 731a9445a10da34722acb3fe7b4fe49ab4530b28 (
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
|
# Maintainer: Daniel Playfair Cal <Daniel.playfair.cal@gmail.com>
# Contributor: Brad Fanella <cesura@archlinux.org>
# Contributor: Martin Wimpress <code@flexion.org>
# Contributor: Davide Depau <davide@depau.eu>
pkgname=mate-panel-git
_pkgname=mate-panel
sha256sums=('SKIP')
provides=(mate-panel)
pkgver=v1.25.3.r0.gb7f96b10
pkgrel=1
pkgdesc="The MATE Panel"
url="https://mate-desktop.org"
arch=('x86_64')
license=('GPL')
depends=('dbus-glib' 'libwnck3' 'libcanberra' 'libmateweather' 'libsm' 'mate-menus' 'mate-desktop' 'gtk-layer-shell')
makedepends=('mate-common' 'yelp-tools' 'intltool' 'itstool' 'gobject-introspection' 'gtk-layer-shell')
source=("git+https://github.com/mate-desktop/mate-panel")
groups=('mate')
conflicts=('mate-panel-gtk3' 'mate-panel')
provides=('mate-panel-gtk3' 'mate-panel')
prepare() {
cd "$srcdir/$_pkgname"
git submodule update --init --recursive
}
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${_pkgname}"
./autogen.sh
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/${_pkgname} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-introspection \
--enable-wayland
#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd "${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|