16 lines
213 B
Bash
Executable file
16 lines
213 B
Bash
Executable file
#!/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"
|