summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Kuntze2017-02-22 12:09:50 +0100
committerNoel Kuntze2017-02-22 12:09:50 +0100
commitaf04d2eef98395fe1d2c7b5eadc5fa3a7cf8b155 (patch)
treed8a17f8989456ac44590f0ba6e7b4b356270fb4c
parent5f834719437805fa693d106d2170a12053bec35c (diff)
downloadaur-af04d2eef98395fe1d2c7b5eadc5fa3a7cf8b155.tar.gz
Add missing dependencies, add custom license
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 77a964b3036..e2f7ed4620c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,16 +8,18 @@ pkgdesc="An easy-to-use command line tool for automatically acquiring certificat
arch=(i686 x86_64 armv7h)
url="https://github.com/hlandau/acme"
license=('MIT')
-depends=(glibc)
+depends=(glibc bash libcap)
makedepends=(go)
source=(acmetool-$pkgver.tar.gz::https://github.com/hlandau/acme/archive/v$pkgver.tar.gz
+ LICENSE::https://raw.githubusercontent.com/hlandau/rilts/master/licences/COPYING.MIT
acmetool.service
acmetool.timer
acmetool.tmpfile
)
sha256sums=('c84bf2d7ab20fdc16b9047ebb3bca48c8e1282f92605fa2eba08f7963ef6c3b4'
+ 'fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc'
'de9d31c97000445e3da4dccca404efa9c23203d5fe345befdd9926bcdb6b36e3'
'82cd724853507a6d96f7a432aa44c457e76f4d6c0f1ad35142287b7c383d5c0b'
'ae82f90321f60f441f49227e8cc69c3bb1fc80f196bb6070b4617048adf1ca4d')
@@ -48,4 +50,6 @@ package() {
install -Dm644 -t "${pkgdir}/usr/lib/tmpfiles.d" ${srcdir}/acmetool.tmpfile
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "${srcdir}/acme-${pkgver}/README.md" "${srcdir}/acme-${pkgver}/_doc/"*
+ # copy the license
+ install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/acmetool/LICENSE"
}