From 6a80bc68a8ae3dd6ef8c0933bc7dcfbcee3ecd6b Mon Sep 17 00:00:00 2001 From: earnest ma Date: Mon, 26 Jul 2021 13:41:48 -0400 Subject: [PATCH] Initial commit --- LICENSE | 18 +++++++++++++++ README.md | 32 ++++++++++++++++++++++++++ aptpkg | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 118 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100755 aptpkg diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7645c4a --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +Copyright © 2021 earnest ma + +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..7a94d95 --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# aptpkg +[![This project is considered experimental](https://img.shields.io/badge/Status-experimental-red.svg)](https://www.arp242.net/status/experimental) +[![sr.ht Project hub](https://img.shields.io/badge/sr.ht-Project%20hub-grey)](https://sr.ht/~earnestma/aptpkg) + +- **[Packaging git repository](https://git.sr.ht/~earnestma/aptpkg-pkgs)** +- **[Package archive setup/ info](https://man.sr.ht/~earnestma/aptpkg)** + +Easily create debian packages. + +## Prerequisites + +- ubuntu-dev-tools +- git, wget, bash + +## Usage + +See the [wiki](https://man.sr.ht/~earnestma/aptpkg) or run `./aptpkg --help` for +more information. + +## Contribute + +Send patches to [this mailing +list](https://lists.sr.ht/~earnestma/aptpkg-devel); you can follow [this +guide](https://git-send-email.io) if you don't know how. + +File **confirmed** bugs/ feature requests +[here](https://todo.sr.ht/~earnestma/aptpkg)! + +## License + +`aptpkg` is published under an MIT License. See the LICENSE file for copyright +and license details. diff --git a/aptpkg b/aptpkg new file mode 100755 index 0000000..e074bba --- /dev/null +++ b/aptpkg @@ -0,0 +1,68 @@ +#!/usr/bin/bash + +# Init variables +APTPKG_VERSION="0.1.0-dev" + +# Show help +show_help(){ + cat > /dev/stdout <