Created
April 19, 2016 20:54
-
-
Save barnslig/eee48ea2d017e0239ffb4bb18087867f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=acmetool | |
pkgver=0.0.50 | |
pkgrel=0 | |
pkgdesc="Acmetool is an easy-to-use command line tool for automatically acquiring certificates from ACME servers (such as Let's Encrypt)" | |
conflicts=('acmetool-git') | |
arch=('i686' 'x86_64') | |
source_i686=("https://github.com/hlandau/acme/releases/download/v${pkgver}/acmetool-v${pkgver}-linux_386.tar.gz") | |
source_x86_64=("https://github.com/hlandau/acme/releases/download/v${pkgver}/acmetool-v${pkgver}-linux_amd64.tar.gz") | |
sha256sums_i686=('e9813e95a1edfc312af921befbb549b95037749094c58447bb2b245e640f6497') | |
sha256sums_x86_64=('a5a22fcff5a306e67815b1692e0a10eed00a399c6a40f68c69f1e2e921f06a6d') | |
case $CARCH in | |
"x86_64") | |
ACTUAL_ARCH="amd64" | |
;; | |
"i686") | |
ACTUAL_ARCH="i386" | |
;; | |
esac | |
package() { | |
cd "${srcdir}/acmetool-v${pkgver}-linux_${ACTUAL_ARCH}" | |
install -Dm755 "bin/acmetool" "$pkgdir/usr/local/bin/acmetool" | |
install -Dm755 "doc/acmetool.8" "$pkgdir/usr/share/man/man8/acmetool.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment