blob: 744eba49551b11ce1ff90bc943df38eb102934d5 (
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
|
pkgname=aurutils-git
pkgver=r335.e9c99b8
pkgrel=1
pkgdesc='AUR helpers tools'
arch=('any')
url=https://github.com/AladW/aurutils
license=('ISC')
source=("git+$url")
md5sums=('SKIP')
depends=('pacman>=5.0' 'git' 'repose-git' 'jshon' 'pacutils-git' 'expac' 'aria2' 'moreutils')
makedepends=('git')
optdepends=('devtools: aurbuild -c'
'setconf: aurbuild -R'
'vifm: better interaction with source files')
pkgver() {
cd aurutils
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd aurutils
install -d "$pkgdir"/usr/{bin,share{/licenses,/doc}/aurutils}
install -m755 ./aur* repofind -t "$pkgdir"/usr/bin
install -m644 LICENSE -t "$pkgdir"/usr/share/licenses/aurutils
install -m644 CREDITS README.md -t "$pkgdir"/usr/share/doc/aurutils
}
|