blob: ea9011231145d0aa6cee1517420226077b5d46b1 (
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
|
# Maintainer: ffqq <shuttara@gmail.com>
pkgname=zaura-git
_pkgname=zaura
pkgver=0.1.2
pkgrel=1
pkgdesc="A bash library for utilizing the AUR inside bash scripts."
arch=('any')
url="https://gitea.com/ffqq/zaura"
license=('GPL3')
depends=('pacman' 'git' 'jq')
optdepends=('sudo')
provides=($_pkgname)
source=("$pkgname::git+https://gitea.com/ffqq/zaura.git")
md5sums=("SKIP")
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$pkgname"
mkdir -p ${pkgdir}/usr/share/${_pkgname}
install -D -m755 "${_pkgname}" "${pkgdir}/usr/share/${_pkgname}/${_pkgname}"
}
|