blob: f9b274a388f5d5cd5be9cb48c76d7a45580533dc (
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
|
# Maintainer: Marcos Ferreira <merkkp at gmail dot com>
_gitname="bpkg"
pkgname="${_gitname}-git"
pkgver=0.2.8.28.g9bbe98c
pkgrel=1
pkgdesc="Lightweight bash package manager"
arch=("any")
url="https://bpkg.io"
license=("MIT")
depends=("bash")
makedepends=("git")
provides=("${_gitname}")
conflicts=("${_gitname}")
source=("git+https://github.com/bpkg/${_gitname}")
md5sums=("SKIP")
pkgver() {
cd "${_gitname}"
git describe --tags --long | sed 's/^v//;s/-/./;s/-/./g'
}
package() {
cd "${srcdir}/${_gitname}"
PREFIX="${pkgdir}/usr" ./setup.sh
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
|