blob: e75938e462e337b09859a2ef21d7a7a249d1b6dc (
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
|
# Maintainer: Anakojm <https://anakojm.net/about.html>
pkgname=fortune-mod-leftism-git
_pkgname=leftist-quote
pkgver=r26.c1d4dda
pkgrel=1
pkgdesc="Leftist fortune quotes"
arch=('any')
url="https://github.com/anakojm/$_pkgname"
license=('custom:public domain')
makedepends=('git')
depends=('fortune-mod')
groups=('fortune-mods')
source=("git+$url.git")
sha256sums=("SKIP")
pkgver(){
cd "$srcdir/$_pkgname"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build(){
cd "${srcdir}/$_pkgname"
strfile ${_pkgname}s
}
package(){
cd "${srcdir}/$_pkgname"
install -dm755 -- "${pkgdir}/usr/share/fortune"
install -m644 -- ${_pkgname}s ${_pkgname}s.dat "${pkgdir}/usr/share/fortune"
}
|