diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b4ea853 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2021 Daniel Langbein + +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. \ No newline at end of file diff --git a/README.md b/README.md index e69de29..89a2602 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,11 @@ +# Arch Linux Packages + +## Some notes + +### Naming + +* [package naming](https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_naming) + +Package names are prefixed with `de-p1st` as this is one of my +domains ([p1st.de]()) which itself is an abbreviation of +[cloud.privacy1st.de]() diff --git a/prototype/PKGBUILD b/prototype/PKGBUILD new file mode 100644 index 0000000..ddd16eb --- /dev/null +++ b/prototype/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Daniel Langbein +pkgname=!! TODO !! +pkgver=0.0.1 +pkgrel=1 +pkgdesc=" !! TODO !! " +arch=('any') +url="https://git.privacy1st.de/langfingaz/arch-pkg.git" +license=('MIT') +groups=() +depends=() +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+$url") +noextract=() +md5sums=() # autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en + +build() { + cd "pkg/$pkgname" + + ./configure --prefix=/usr + make +} + +package() { + cd "pkg/$pkgname" + + make DESTDIR="$pkgdir/" install +} \ No newline at end of file