blob: 518d81201899968d67404de0428f7edc14bdfaf1 (
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
|
# Maintaoner: Yamada Hayao <development@fascode.net>
pkgname="wfa-git"
pkgver=r58.7b45719
pkgrel=1
pkgdesc="A simple AUR helper written in a shell script"
arch=('any')
url="https://github.com/Hayao0819/wfa"
license=('WTFPL')
depends=('sudo' 'pacman' 'jq' 'python3' 'curl' 'pyalpm' 'python-srcinfo')
makedepends=('git')
source=("git+https://github.com/Hayao0819/wfa")
md5sums=('SKIP')
pkgver() {
cd "wfa"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -m 755 -D "${srcdir}/wfa/wfa" "${pkgdir}/usr/bin/wfa"
install -m 755 -D "${srcdir}/wfa/LICENSE" "${pkgdir}/usr/share/licenses/wfa/LICENSE"
install -m 755 -D "${srcdir}/wfa/README.md" "${pkgdir}/usr/share/licenses/wfa/README.md"
}
|