blob: f96619a501db19cb9107d1c672ec388576403613 (
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
|
# Maintainer: Gauge Krahe <gauge.krahe at gmail dot com>
_name=fet.sh
pkgname=$_name-git
pkgver=1.2.r1.gd336d54
pkgrel=1
pkgdesc="A simple fetch written in POSIX shell without any external commands"
arch=(any)
url="https://github.com/6gk/$_name"
license=('ISC')
makedepends=('git')
provides=("$_name")
source=("$pkgname::git+https://github.com/6gk/$_name")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "$_name" "$pkgdir/usr/bin/$_name"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|