commit 3de3ebff56d3b6c66ecc2f113937ad1b2a0b4dd2 Author: Faerbit Date: Sat Sep 15 01:04:15 2018 +0200 Initial commit. diff --git a/License.md b/License.md new file mode 100644 index 0000000..6c5d532 --- /dev/null +++ b/License.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Fabian Klemp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..df1dc47 --- /dev/null +++ b/Readme.md @@ -0,0 +1,40 @@ +# fpkg + +This is a linux package manager focussed on simplicity, rather than feature +completeness. This is rather for my personal education, than for producing +something useful. + +## Dependencies + * fakeroot + * bash + * zstd + * tar + * coreutils + +## Installation +``` bash +make install DESTDIR=/desired/path +``` + +## Usage +### Prerequesite +``` bash +mkdir /pkg # folder for storing packages +``` + + +**c**reate **p**ac**k**a**g**e: +```bash +cd build_dir/of/foo +cpkg make install # DESTDIR is set by cpkg +``` + +**i**nstall **p**ac**k**a**g**e: +``` bash +ipkg foo +``` + +**r**emove **p**ac**k**a**g**e: +``` bash +rpkg foo +```