aboutsummaryrefslogblamecommitdiffstats
path: root/rotd/PKGBUILD
blob: b5ea93cb3de952d8572eedff801f6aa983e2180b (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                                        
            





                                                                        
                                                                 

                                                  
                                                          

                                    
                                                                             












                                                                         
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=rotd
pkgver=1.1.2
pkgrel=1
pkgdesc="Generate a paper with important or fun information for the day"
arch=(any)
url="https://github.com/maandree/rotd"
license=('custom:ISC')
depends=(python3 texlive-bin)
optdepends=("curl: for leap second announcements and xkcd comics"
	    "fortune-mod: for fortune cookies"
	    "gnupg: for gnupg key expiry warnings"
	    "solar-python: (>=2.5) for solar information")
makedepends=(make coreutils sed)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(e81e78f39abb09c736e23159279cab5ab2455f05da98d599e086a166bba08589)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr LIBEXECDIR=/usr/lib/$pkgname
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr LIBEXECDIR=/usr/lib/$pkgname install DESTDIR="$pkgdir"
}