summaryrefslogtreecommitdiff
path: root/libre/libxfce4ui/PKGBUILD
blob: 2a53f562a15b3e2fe83eeff593b0cf771a0be63d (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
# Maintainer (Arch): Evangelos Foutras <evangelos@foutrelis.com>
# Contributor (Arch): Xavier Devlamynck <magicrhesus@ouranos.be>
# Maintainer: André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=libxfce4ui
pkgver=4.16.0
pkgrel=1
pkgrel+=.parabola1
pkgdesc="Commonly used Xfce widgets among Xfce applications"
pkgdesc+=" (Parabola rebranded)"
arch=('x86_64')
arch+=('armv7h' 'i686')
url="https://www.xfce.org/"
license=('GPL2')
depends=('libxfce4util' 'gtk3' 'xfconf' 'libsm' 'startup-notification'
         'libgtop' 'libepoxy' 'hicolor-icon-theme')
makedepends=('intltool' 'gobject-introspection' 'vala')
source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
sha256sums=('8b06c9e94f4be88a9d87c47592411b6cbc32073e7af9cbd64c7b2924ec90ceaa')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib \
    --localstatedir=/var \
    --disable-static \
    --disable-debug \
    --with-vendor-info='Parabola GNU/Linux-libre'
  make
}

package() {
  # pin to tightly-coupled dependency versions
  depends+=( "xfce4-session=$(sed -E 's|([0-9]+\.[0-9]+).*|\1|' <<<${pkgver})" )

  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}