blob: 221fc6ae620fd08bfe76e9f9e768defc30c667b5 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=arch-install-scripts
pkgver=22
pkgrel=0
pkgdesc="Scripts to aid in installing Arch Linux"
arch="noarch"
url="https://projects.archlinux.org/arch-install-scripts.git"
license="GPL-2.0-only"
depends="bash coreutils pacman util-linux"
makedepends="m4 asciidoc"
subpackages="
$pkgname-doc
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch
"
source="https://git.archlinux.org/arch-install-scripts.git/snapshot/arch-install-scripts-$pkgver.tar.gz"
build() {
make
}
check() {
make check
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}
bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share/bash-completion
mv "$pkgdir"/usr/share/bash-completion/completions \
"$subpkgdir"/usr/share/bash-completion
}
zshcomp() {
depends=""
pkgdesc="Zsh compltions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel zsh"
mkdir -p "$subpkgdir"/usr/share/zsh
mv "$pkgdir"/usr/share/zsh/site-functions \
"$subpkgdir"/usr/share/zsh
}
sha512sums="c1279ae88fb611e150e3372dd910e30b9717eb492443a13392985d0c282d31cbcf207933a274f9befc46b479525ebfccb38ab1ea20a36ef209b7bd0af170250b arch-install-scripts-22.tar.gz"
|