summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 416d83163c7c9c2bebb43a38a2e900bdf63fe6bc (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
# Maintainer: Oliver Gondža <ogondza@gmail.com>
# Contributor: Oliver Gondža <ogondza@gmail.com>
pkgname=openrc-manager
_binname=openrc
pkgver=0.1
pkgrel=1
pkgdesc="Manage OpenStack openrc files"
arch=('any')
url="https://github.com/olivergondza/openrc-manager"
license=('GPL')
groups=()
depends=('bash')
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("git+https://github.com/olivergondza/openrc-manager.git#tag=${pkgver}")
noextract=()
md5sums=('SKIP')

build() {
	cd "${srcdir}/${pkgname}"
	# Noop
}

package() {
	cd "${srcdir}/${pkgname}"
  install -D -m 755 $_binname "${pkgdir}/usr/bin/${_binname}"
  install -D -m 644 completion/fish.fish "${pkgdir}/usr/share/fish/vendor_completions.d/${_binname}.fish"
  install -D -m 644 completion/bash.sh "${pkgdir}/usr/share/bash-completion/completions/${_binname}"
}