blob: 675ea5b04924b2a499e521f3ae864d68a4d0b4b8 (
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
|
# Maintainer: Muhammad Zaky Ramadhan <mzakyr42@gmail.com>
pkgname=osfetch-sh-git
_pkgname=osfetch-sh
pkgver=r17.ec5682d
pkgrel=1
pkgdesc="osfetch-sh is a stupid system fetch program written in bash for linux."
arch=('any')
url="https://github.com/mzakyr12/${_pkgname}"
license=('MIT')
makedepends=('git')
source=("git+https://github.com/mzakyr12/${_pkgname}")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd $_pkgname
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/osfetch-sh-git/LICENSE"
install -D -m755 osfetch "$pkgdir/usr/bin/$_pkgname"
}
|