summaryrefslogtreecommitdiff
path: root/user/xbiff/APKBUILD
blob: bef041c3cd2b6067c05f86ebe526a4a2b3bdc6ae (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xbiff
pkgver=1.0.3
pkgrel=0
pkgdesc="Local email notification applet for X11"
url="https://www.X.Org/"
arch="all"
license="X11"
depends="xbitmaps"
makedepends="libx11-dev libxaw-dev libxext-dev libxmu-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xbiff-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="e9fa72817cae5fd6c052a4a59fcd6c696ae9d3f5fd8eecb0e9b0d8994258201cf5f4ae99845dd03e3da56e378eb214658e4450c9291a29399d9ece8af3b9f9e9  xbiff-1.0.3.tar.bz2"