blob: bee0e4c1f67cf8a81da19ca5929a005348243971 (
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
34
35
36
37
38
39
40
41
|
# Maintainer: Nimai Patel <nimai.m.patel@gmail.com>
pkgname=brn-git
pkgver=r31.454e213
pkgrel=1
epoch=
pkgdesc="Text editor based bulk rename utility."
arch=('any')
url="https://github.com/nimaipatel/brn/"
license=('AGPL')
groups=()
depends=()
makedepends=("git" "gcc" "make")
optdepends=()
provides=('brn')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname::git+https://github.com/nimaipatel/brn.git")
noextract=()
md5sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
make
}
package() {
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
cp "$srcdir/$pkgname/brn" "$pkgdir/usr/bin/brn"
cp "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|