blob: de4d3573714cafb1a70813772e4e440626ca5e0b (
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
|
# Maintainer: deadc0de6 <info@deadc0de.ch>
_pkgname=gitell
pkgname="${_pkgname}-git"
pkgver=0.1.r0.gc200ab3
pkgrel=1
pkgdesc="Quickly get multiple git repositories status"
arch=('any')
url="https://github.com/deadc0de6/gitell"
license=('GPL')
groups=()
depends=('bash')
makedepends=('git')
provides=(${_pkgname})
conflicts=(${_pkgname})
source=("git+https://github.com/deadc0de6/gitell.git")
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}
package() {
install -D -m 755 "${srcdir}/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}
|