aboutsummaryrefslogtreecommitdiffstats
path: root/community/remind/APKBUILD
blob: bfb49684b70112773f1a7aec39ee3300a9361895 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=remind
pkgver=03.03.08
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/OLD/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="
fbff9f0caaa3772d71c2b6e4a08c8931095a5a7b15e7bd71e646eb3bdae2bfde3ddc37b09d1563ed9f1eedccec76ecc56c35b540f1d089fec28c3f2b8e962190  remind-03.03.08.tar.gz
"