Standardizing for PKGBUILD

This commit is contained in:
DarkFeather
2019-04-30 15:53:55 -05:00
parent e7c96f98bb
commit 4b383874b6
8 changed files with 291 additions and 0 deletions

29
Makefile Normal file
View File

@@ -0,0 +1,29 @@
installdir = ${pkgdir}/opt/aninix/SharedLibraries/
targets = Bash C CSharp
compile:
@echo Nothing to compile.
install: compile
mkdir -p ${installdir}
for target in ${targets}; do rsync -avzl "$$target" ${installdir}; done
make checkperm
clean:
for i in `cat .gitignore`; do rm -Rf $$i; done
uninstall:
rm -Rf ${installdir}
test:
@echo Nothing to do.
checkperm:
chmod -R 0755 ${installdir}
chown root:root ${installdir}
diff: ${INSTALLFIR}
diff -rc . ${installdir}
reverse:
rsync -avzlp ${installdir} .