archrelease: copy trunk to community-any
[ArchLinux/community.git] / mate-applets / trunk / PKGBUILD
blob85822a6aa5bb4272423c5f70c8491f44a63dbd98
1 # Maintainer: Alexander Epaneshnikov <alex19ep@archlinux.org>
2 # Contributor: Brad Fanella <cesura@archlinux.org>
3 # Contributor: Martin Wimpress <code@flexion.org>
5 pkgname=mate-applets
6 pkgver=1.27.0
7 pkgrel=1
8 pkgdesc="Applets for MATE panel"
9 arch=('x86_64')
10 url="https://mate-desktop.org"
11 license=('GPL')
12 depends=('cpupower' 'gtksourceview4' 'libgtop' 'libnotify' 'mate-panel' 'polkit' 'upower' 'wireless_tools')
13 makedepends=('intltool' 'itstool' 'gucharmap' 'yelp-tools')
14 optdepends=('fortune-mod: for displaying fortune cookies in the Wanda the Fish applet'
15             'gucharmap: character picker applet')
16 groups=('mate-extra')
17 conflicts=('mate-applets-gtk3' 'mate-netspeed' 'mate-netspeed-gtk3')
18 replaces=('mate-applets-gtk3' 'mate-netspeed' 'mate-netspeed-gtk3')
19 source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
20 sha256sums=('d5563a91c236d39cee59b5089d93558956934b766ff292dce2f1fb0a567c4192')
22 build() {
23         cd "${pkgname}-${pkgver}"
24         ./configure \
25                 --prefix=/usr \
26                 --sysconfdir=/etc \
27                 --libexecdir=/usr/lib/${pkgname} \
28                 --with-dbus-sys="/usr/share/dbus-1/system.d" \
29                 --enable-polkit \
30                 --enable-ipv6
31         make
34 package() {
35         cd "${pkgname}-${pkgver}"
36         make DESTDIR="${pkgdir}" install