blob: a8c3e50c5cc9f3b73930a749f0f74b1146d4e3a4 (
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
|
# Maintainer: Adrián Romero <adriik[dot]linux[at]proton[dot]me>
pkgname=footy-git
_pkgname=footy
pkgver=r81.0608ed5
pkgrel=1
pkgdesc='A simple shell script that displays the latest football scores, fixtures and standings.'
arch=('any')
url='https://github.com/fritzrehde/footy'
license=('MIT')
depends=('jq' 'bash')
makedepends=('git')
provides=("$_pkgname")
source=("$_pkgname::git+$url.git")
install="$_pkgname.install"
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
make install INSTALL_DIR="$pkgdir/usr/bin/"
install -D -m644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|