Ajout : fakepkg
This commit is contained in:
parent
83fa5eab5e
commit
b796ed03bf
1 changed files with 16 additions and 0 deletions
16
bin/fakepkg
Executable file
16
bin/fakepkg
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env sh
|
||||
cd -- "$(mktemp -d)" || exit
|
||||
temp_dir=$(pwd)
|
||||
|
||||
cat > PKGBUILD << EOF
|
||||
pkgname='$1'
|
||||
pkgver=0.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='Dummy package'
|
||||
arch=('any')
|
||||
EOF
|
||||
|
||||
makepkg -i
|
||||
|
||||
cd .. || exit
|
||||
rm -r -f -- "$temp_dir"
|
Loading…
Reference in a new issue