aboutsummaryrefslogtreecommitdiffstats
path: root/community/remind/APKBUILD
blob: ba48f10b39e9e612779bca2e0134c6c582b59379 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=remind
pkgver=03.03.00
pkgrel=0
pkgdesc="Sophisticated calendar and alarm program"
url="https://dianne.skoll.ca/projects/remind/"
arch="all"
license="GPL-2.0"
options="!check"
subpackages="$pkgname-doc tkremind::noarch"
source="https://dianne.skoll.ca/projects/remind/download/remind-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

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

tkremind() {
	depends="remind tk"

	local src="$pkgdir"/usr/bin
	local dest="$subpkgdir"/usr/bin
	mkdir -p "$dest"
	mv "$src"/cm2rem.tcl "$src"/tkremind "$dest"
}

sha512sums="0ddd751e42e01a841f46eb21a1392d353efa4e4d63c15b7ba6d7874becb16af537df4e41683db5b1bc3749d5e334c972f8b708b92bbe6f0a9e5bb6a80756486c  remind-03.03.00.tar.gz"