summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Vihrov2017-02-15 20:08:27 +0200
committerAndrey Vihrov2017-02-15 20:08:27 +0200
commit95d197f665c7046cf32036bbf1abb8c5c41f792a (patch)
treeaa4deae8b7ca1a143ac273af0a998fe40c2a2abe
parent9d402294e6f9ff4bec19ad82a207987393cb5358 (diff)
downloadaur-95d197f665c7046cf32036bbf1abb8c5c41f792a.tar.gz
Fix licenses
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2addd1ba376..cd63cda66011 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Feb 15 17:02:26 UTC 2017
+# Wed Feb 15 18:08:09 UTC 2017
pkgbase = libtomcrypt
pkgdesc = A fairly comprehensive, modular and portable cryptographic toolkit
pkgver = 1.17
@@ -7,8 +7,7 @@ pkgbase = libtomcrypt
url = http://www.libtom.net/LibTomCrypt/
arch = i686
arch = x86_64
- license = custom:Public Domain
- license = custom:WTFPL
+ license = custom:PublicDomain
depends = libtommath
depends = gmp
source = https://github.com/libtom/libtomcrypt/releases/download/1.17/crypt-1.17.tar.bz2
diff --git a/PKGBUILD b/PKGBUILD
index 820793421be4..34c764fdbd39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=13
pkgdesc="A fairly comprehensive, modular and portable cryptographic toolkit"
arch=('i686' 'x86_64')
url="http://www.libtom.net/LibTomCrypt/"
-license=('custom:Public Domain' 'custom:WTFPL')
+license=('custom:PublicDomain')
depends=('libtommath' 'gmp')
source=("https://github.com/libtom/${pkgname}/releases/download/${pkgver}/${pkgname#libtom}-${pkgver}.tar.bz2")
sha256sums=('e33b47d77a495091c8703175a25c8228aff043140b2554c08a3c3cd71f79d116')
@@ -32,6 +32,8 @@ package() {
cd "${pkgname}-${pkgver}"
make -f makefile.shared DESTDIR="${pkgdir}" INSTALL_GROUP="root" install
+
+ install -D -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: