blob: 1f0062b509baabdcd872d96580f2a9651a08a583 (
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
30
31
32
33
|
# Maintainer: Slips slipfox(underscore)xyz(at)riseup(dot)net
_pkgname=virm
pkgname=${_pkgname}-git
pkgver=r3.053c1a4
pkgrel=1
pkgdesc="A simple bash bulk removal tool, similar to vimv"
arch=('i386' 'x86_64')
url="https://git.envs.net/Slips/virm"
license=('GPL3')
groups=()
depends=()
makedepends=('git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
replaces=()
backup=()
options=()
install=
source=("${_pkgname}::git+${url}.git")
noextract=()
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_pkgname}"
install -Dm755 "virm" ${pkgdir}/usr/bin/virm
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|