aboutsummaryrefslogblamecommitdiffstats
path: root/community/remind/APKBUILD
blob: 969985b3e264aac3c4b5a7c1e06edb5e89be6269 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                              
                                                          
              

                




                                                    
                
                                           

                                                                               
 
         



                                 
                             
            


           
                      



                                      







                                                    
                                                                                                                                                                     
# 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="GPL2"
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"