aboutsummaryrefslogtreecommitdiffstats
path: root/community/remind/APKBUILD
blob: 48dc9624d3162c6f5b737700afef0b3badd03250 (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
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=remind
pkgver=03.01.15
pkgrel=0
pkgdesc="Sophisticated calendar and alarm program"
url="https://www.roaringpenguin.com/products/remind"
arch="all"
license="GPL2"
subpackages="$pkgname-doc tkremind"
source="https://www.roaringpenguin.com/files/download/remind-$pkgver.tar.gz"

_builddir="$srcdir"/remind-$pkgver
build() {
	cd "$_builddir"
	./configure --build=$CBUILD --host=$CHOST --prefix=/usr && make
}

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

tkremind() {
	arch=noarch
	depends="remind tk"

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

md5sums="089c51c060fdda2357a833800a5bfe39  remind-03.01.15.tar.gz"
sha256sums="8adab4c0b30a556c34223094c5c74779164d5f3b8be66b8039f44b577e678ec1  remind-03.01.15.tar.gz"
sha512sums="335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84  remind-03.01.15.tar.gz"