summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e360f1674bf8faf0add0988c340d0f1896edd4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Storm Dragon <support@stormdragon.tk>
pkgname=fortune-mod-confucius
pkgver=20200529
pkgrel=1
pkgdesc="Fortune cookies: Confucius sayings.)"
arch=('any')
url="https://billy.wolfe.casa/fortunes/confucius"
license=('WTFPL')
depends=('fortune-mod')
source=("${url}")
md5sums=('6220f31873850dafc72e849dab15b682')

build()
{
    cd ${srcdir}
    strfile confucius confucius.dat
}

package()
{
    install -D -m644 confucius ${pkgdir}/usr/share/fortune/confucius
	install -D -m644 confucius.dat ${pkgdir}/usr/share/fortune/confucius.dat
}