sebnow / pkgparse Goto Github PK
View Code? Open in Web Editor NEWA PKGBUILD parsing library.
License: MIT License
A PKGBUILD parsing library.
License: MIT License
Introduction ============ The pkgparse library parses [PKGBUILD] files. These files hold metadata and build instructions for making ALPM packages. The format originated from the [Archlinux] distribution. These files are simply bash scripts, with specifically named variables. The pkgparse library extracts the values of these variables and enables access to them. Requirements ============ * Yacc * Lex * CMake >= 2.8 Install ======= From the command line, in the root directory of the project: cmake . make Documentation ============= Documentation can be generated using [Natural Docs]. Generated documentation will appear on the [website] with each release. It can be generated as follows: NaturalDocs -i . -o HTML docs -p nd Issues ====== Please send bug reports or feature requests to the [Issue tracker][issues]. License ======= The pkgparse library is released under the [MIT License](LICENSE). [archlinux]: http://www.archlinux.org/ [github]: http://www.github.com/ [issues]: http://github.com/sebnow/pkgparse/issues [pkgbuild]: http://www.archlinux.org/pacman/PKGBUILD.5.html [natural docs]: http://www.naturaldocs.org [website]: http://sebnow.github.com/pkgparse/
Fails to build on macOS with following error:
[ 87%] Building C object CMakeFiles/pkgparse.dir/pkgbuild_scanner.c.o
pkgbuild_scanner.l:30:13: error: redeclaration of 'yyleng' with a different type: 'int' vs 'yy_size_t' (aka 'unsigned long')
extern int yyleng;
^
/Users/conor/git/pkgparse/pkgbuild_scanner.c:276:11: note: previous definition is here
yy_size_t yyleng;
^
1 error generated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.