blob: 1be026445b0177b03d95580a2090d221a5f6552e (
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
|
# Maintainer: Dennis Herbrich (Gyroplast) <dennis.herbrich@veloxis.de>
# Contributor: Yamada Hayao <hayao@fascode.net>
# Contributor: Bernhard Landauer <oberon@manjaro.org>
pkgname=xfce4-calculator-plugin
pkgver=0.7.2
pkgrel=1
pkgdesc="Simple command line based calculator for the Xfce panel"
arch=('i686' 'x86_64')
url="https://docs.xfce.org/panel-plugins/xfce4-calculator-plugin"
license=('GPL-2.0-or-later')
depends=('xfce4-panel')
makedepends=('intltool')
source=("https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('d1f622bea41a90c1686bf9f13c488ab28e995e2762b84712dea9027e0c94028b')
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--disable-debug
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
# vim:set ts=2 sw=2 et:
|