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

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

package() {
	cd "$builddir"
	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="335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84  remind-03.01.15.tar.gz"