git » core-pkgbuilds.git » main » tree

[main] / newpkg

1
2
3
4
5
6
7
8
9
#!/bin/sh
mkdir $1
echo $1 >> order
cp template $1/PKGBUILD
sed -i "s/NAME/$1/g" $1/PKGBUILD
sed -i "s/VERSION/$2/g" $1/PKGBUILD
nano $1/PKGBUILD
chown -R builder:builder $1
./pkg-root.sh $1