blob: 3843d104972dc92d847efbd72be0860ed3ceca52 (
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: pryme-svg <edoc.www@gmail.com>
pkgname=jfetch-git
pkgver=r72.796241c
pkgrel=1
pkgdesc="A minimal Linux fetch script"
arch=('any')
url="https://github.com/Jimmysit0/jfetch"
license=('MIT')
depends=()
makedepends=('make')
optdepends=()
provides=('jfetch')
conflicts=()
source=('jfetch-git::git+https://github.com/Jimmysit0/jfetch.git'
'https://raw.githubusercontent.com/Jimmysit0/jfetch/master/license')
md5sums=('SKIP'
'10530c5d870f9e86d4b0e7b24a4e72fa')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm644 license "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}
|