diff --git a/.gitignore b/.gitignore index e9648f0..d5fbbf8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ pkg/ src/ +*.tar.xz diff --git a/LICENSE b/LICENSE index 878d895..bffb679 100644 --- a/LICENSE +++ b/LICENSE @@ -16,12 +16,16 @@ ANINIX ADDENDUM - Trademark Pending 2017 (https://aninix.net/irc/) + Trademark 2017 (https://aninix.net/) - The "AniNIX" name and |> logo is trademark-pending as of 2017. All - AniNIX materials can be reproduced and re-used, though you must - contact the admins of the network to get written permission to use - the AniNIX name. + The "AniNIX" name and |> logo are trademarked as of 2017/11/21. + AniNIX materials may be reproduced and re-used (though you must + contact the admins of the network to get written permission to use + the AniNIX name or logo) so long as such reproduction or re-use + does not inhibit the original AniNIX use of the same. Attribution is appreciated for other materials but not legally required or necessary. + + "AniNIX" trademark serial: 87177883 + |> Logo trademark serial: 87177887 diff --git a/Makefile b/Makefile index 59464db..c9b8c58 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ compile: install: compile mkdir -p ${installdir} - for target in ${targets}; do rsync -avzl "$$target" ${installdir}; done + for target in ${targets}; do rsync -avzzl "$$target" ${installdir}; done make checkperm clean: diff --git a/PKGBUILD b/PKGBUILD index 03510a0..735f131 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,23 +1,22 @@ -# Maintainer: Shikoba Kage -pkgname=uniglot -pkgver=0.1.e7c96f9 -pkgver() { - printf "0.1.""$(git rev-parse --short HEAD)" -} -pkgrel=1 -epoch= -pkgdesc="AniNIX::Uniglot \\\\ Shared code libraries that all the AniNIX projects should use -- this should reduce error and code duplication" -arch=("x86_64") -url="https://aninix.net/foundation/Uniglot" -license=('custom') -groups=() -depends=('mono>=5.0.0' 'curl' 'grep' 'bash>=4.4' 'git>=2.13') +depends=('bash>=4.4') makedepends=('make>=4.2') checkdepends=() optdepends=() -provides=('uniglot') +pkgname="$(git config remote.origin.url | rev | cut -f 1 -d '/' | rev | sed 's/.git$//')" +pkgver="$(git describe --tag --abbrev=0)"."$(git rev-parse --short HEAD)" +pkgrel=1 +pkgrel() { + echo $(( `git log "$(git describe --tag --abbrev=0)"..HEAD | grep -c commit` + 1 )) +} +epoch="$(git log | grep -c commit)" +pkgdesc="$(head -n 1 README.md)" +arch=("x86_64") +url="$(git config remote.origin.url | sed 's/.git$//')" +license=('custom') +groups=() +provides=("${pkgname}") conflicts=() -replaces=() +replaces=("${pkgname,,}", "aninix-${pkgname,,}") backup=() options=() install= @@ -36,7 +35,8 @@ build() { } check() { - printf 'quit\n\n' | make -C "${srcdir}/.." test + chmod -R u+r ../pkg + make -C .. test } package() { diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed76e52 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +This repo holds all our standard functions that all our services should use. We include a folder for each language -- files are broken down by their inclusion method. Please follow our [development best practices](https://foundation.aninix.net/AniNIX/Wiki/src/branch/master/Operation/Development_Best_Practices.md) when contributing. + +These functions are not intended to be invoked directly, so the package created from this repo will only provide files on disk. diff --git a/Resources/AniNIX.png b/Resources/AniNIX.png new file mode 100644 index 0000000..3b01845 Binary files /dev/null and b/Resources/AniNIX.png differ