diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | .travis.yml | 45 | ||||
-rw-r--r-- | PKGBUILD | 22 |
4 files changed, 21 insertions, 60 deletions
@@ -1,15 +1,15 @@ pkgbase = aenker - pkgdesc = Authenticated encryption on the commandline using a chunked construction and elliptic curve keys. - pkgver = 0.5.2 - pkgrel = 1 + pkgdesc = Authenticated encryption on the commandline using a chunked construction and elliptic curve25519 keys. + pkgver = 0.6.0 + pkgrel = 2 url = https://github.com/ansemjo/aenker arch = any license = MIT makedepends = go provides = aenker conflicts = aenker - source = aenker-0.5.2.tar.gz::https://github.com/ansemjo/aenker/archive/0.5.2.tar.gz - sha256sums = 55ae760af8f2cc4cc3e780e7db692e6957ff341f0076919cf4dae3170664512c + source = aenker-0.6.0.tar.gz::https://github.com/ansemjo/aenker/archive/0.6.0.tar.gz + sha256sums = 8fa21f43ffdc0c88ea08e951a635dd9a855089682387fae56592b379d1a6a3b3 pkgname = aenker diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d4a6d10f7cfe --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.gz +*.pkg.tar.* +pkg/ +src/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a66bf6d352bc..000000000000 --- a/.travis.yml +++ /dev/null @@ -1,45 +0,0 @@ -language: minimal -dist: xenial -sudo: no -services: - - docker - -branches: - only: - - aur - -install: - # pull base-devel container and prepare build user - - docker run --name arch -v $PWD:/source -d -t antergos/archlinux-base-devel bash - - docker exec -t arch useradd -m -G wheel -k /dev/null builder - - "docker exec -t arch bash -c 'echo \"%wheel ALL=(ALL) NOPASSWD: ALL\" > /etc/sudoers'" - - docker exec -t arch cp -rT /source /home/builder - -script: - # make package, install and test version output - - docker exec -t arch su -l builder -c 'yes | makepkg -s' - - docker exec -t arch bash -c 'yes | pacman -U ~builder/*.pkg.tar.*' - - docker exec -t arch aenker --version - # check if the SRCINFO is properly updated - - docker exec -t arch su -l builder -c 'diff -u .SRCINFO <(makepkg --printsrcinfo)' - -after_script: - - docker rm -f arch - -env: - global: - # encrypted deployment key - secure: hryqiygh+qC4gGDmybYUlavKdW/iqBZ1vIYljhWXVOgyeZK/UtbQ5v9I5t2txmlm429gSJR/kiZJqFaEf7E0Sk/wwDT69NBTUDucf194P7G+36RQgTuRt3iFFQfeFwvTwuyOY+LPvp5K2BOSkow1mir6WgqyDM7CML0qP/F+JDUyKWfIcFfsCJIIqSeF5Vp1+aIgqtd3Wi0614haQd03dlGpS1rW1iPxv7E+OhW7eyKaRg6K7OhMEULOakFNAgAHMpdv2lFGk1nqpHq3a+0FHEXtG5fN0SG8btSnimyYf6RTmAOHwuRqyR2aTtLuXBTVVGCLsSQjhIIye/4jgqcRvVCtuv2jf7Z+AGqi1m8K5QPraTQvN+XHBvfDWZ6kD0Upr8e70KlotFsK8y32L49H+bmYDBKYlFbZUfHNS4xaAOmjTM+4K510ivAUcyxdHg5bRMxAbit84xakKftcg09/Et821gISbZoqXEyiAML69OF+zNiQu05eUuy6KI4d8sWFFnEQA5LzjT9BYju9gFoE3pd/+Q5d5kcG3j+6VZ32TS/4zXfIdEsjYPCEVcUJcz/yc9lQs3ojHKRJVI8KnzqDLeO6T5gZ8oTx0p8rjpMeU1ld7frK13WrKWXa5Uf0xTyiTlJvAf8rM+FUbnycj2aY+Q8pxXygg3QnHlqTvH4KhfY= - -before_deploy: - # insert aur hostkey and our deployment key - - echo "aur.archlinux.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2DCBtPSTwWvBU3/3bAYwJVtnAmy+GEJf98Ek5QhOXh" >> ~/.ssh/known_hosts - - echo "$deployment_key" | base64 -d | gunzip > ~/.ssh/deploy - - chmod 600 ~/.ssh/deploy - -deploy: - # push to AUR - provider: script - script: GIT_SSH_COMMAND="ssh -v -i ~/.ssh/deploy" git push ssh://aur@aur.archlinux.org/aenker.git aur:master - on: - all_branches: yes @@ -1,15 +1,14 @@ # Maintainer: Anton Semjonov < a**** \ät semjonov.de > pkgname="aenker" -pkgdesc="Authenticated encryption on the commandline using a chunked construction and elliptic curve keys." - -pkgver=0.5.2 -pkgrel=1 - -arch=('any') url="https://github.com/ansemjo/$pkgname" +pkgdesc="Authenticated encryption on the commandline using a chunked construction and elliptic curve25519 keys." license=('MIT') +pkgver=0.6.0 +pkgrel=2 +arch=('any') + depends=() makedepends=('go') @@ -17,17 +16,20 @@ provides=($pkgname) conflicts=($pkgname) source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -sha256sums=('55ae760af8f2cc4cc3e780e7db692e6957ff341f0076919cf4dae3170664512c') +sha256sums=('8fa21f43ffdc0c88ea08e951a635dd9a855089682387fae56592b379d1a6a3b3') build() { cd "$pkgname-$pkgver" make "$pkgname" } +check() { + cd "$pkgname-$pkgver" + make test +} + package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } - -# ------------------------------- - |