aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xfce4-stopwatch-plugin/APKBUILD
blob: d775862cc17d8940b5fcb5a7456919498d5382eb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname="xfce4-stopwatch-plugin"
pkgver="0.3.1"
pkgrel=1
pkgdesc="Stopwatch plugin for the Xfce panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-stopwatch-plugin"
arch="all !mips !mips64" # blocked by libxfce4ui-dev
license="BSD"
makedepends="xfce4-panel-dev libxfce4ui-dev gtk+3.0-dev"
options="!check" # no testsuite
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/${pkgver%.*}/xfce4-stopwatch-plugin-$pkgver.tar.bz2
	plugindir.patch"
builddir="$srcdir/xfce4-stopwatch-plugin-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f90b6728a4b0589230ccdbdc2beaebd4cde69895c68911d0417fe34a924f05612c65f0337865d5c83b28dd172c7ab56a462d60a425d5377bdbc82d69967d6860  xfce4-stopwatch-plugin-0.3.1.tar.bz2
4f81ca4d032e7bc08366b69d771ad27047d3a5a390e9883cc883833adb6a4575d76f3530f114f7878ac517a5062460f4de74bd685f178815e63bb9d03e8c8d5a  plugindir.patch"