aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xfce4-mailwatch-plugin/APKBUILD
blob: 34b32be5149ba91a76cb719a862e76d9b21ce0ec (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=xfce4-mailwatch-plugin
pkgver=1.2.0
pkgrel=0
pkgdesc="a multi-protocol, multi-mailbox mail watcher"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mailwatch-plugin"
arch="all"
license="GPL-2.0"
depends=""
depends_dev=""
makedepends="$depends_dev intltool libx11-dev glib-dev gtk+2.0-dev
	xfce4-panel-dev libxfce4ui-dev exo-dev libgcrypt-dev gnutls-dev"
install=""
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-mailwatch-plugin/1.2/xfce4-mailwatch-plugin-$pkgver.tar.bz2"
builddir="$srcdir/xfce4-mailwatch-plugin-$pkgver"

prepare() {
	default_prepare || return 1
	update_config_sub || return 1
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-ssl \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="7263114ec0f2987a3aff15afeeb45577  xfce4-mailwatch-plugin-1.2.0.tar.bz2"
sha256sums="624acc8229a8593c0dfeb28f883f4958119a715cc81cecdbaf29efc8ab1edcad  xfce4-mailwatch-plugin-1.2.0.tar.bz2"
sha512sums="6f5128b2341ab275427e02b1ef063cb2fdcf4027f5c47cfc0ed26086462eb0e9f7353441ea1b9380b91a892414934203b781445f604d67200786e3dd85183a83  xfce4-mailwatch-plugin-1.2.0.tar.bz2"