summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-05-07 18:42:39 +0300
committerDimitris Kiziridis2020-05-07 18:42:39 +0300
commit9d78a90559132265d4d3c61a3879f07af5f0de10 (patch)
treed7f783d277fab69cceb135c03c9308aa289cfddd
parent835d03f057d0239db752e03590a2510d9e127337 (diff)
downloadaur-9d78a90559132265d4d3c61a3879f07af5f0de10.tar.gz
add missing license
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD12
2 files changed, 15 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02f522aa21ff..5df209071ac1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
pkgbase = mole-bin
pkgdesc = CLI app to create SSH tunnels
pkgver = 0.5.0
- pkgrel = 2
- url = https://davrodpin.github.io/mole/
+ pkgrel = 3
+ url = https://davrodpin.github.io/mole
arch = x86_64
license = MIT
+ depends = glibc
provides = mole
- source = https://github.com/davrodpin/mole/releases/download/v0.5.0/mole0.5.0.linux-amd64.tar.gz
- md5sums = 36b2bf3dfbd50354644e2156172f9015
+ source = mole-bin-0.5.0.tar.gz::https://github.com/davrodpin/mole/releases/download/v0.5.0/mole0.5.0.linux-amd64.tar.gz
+ source = https://raw.githubusercontent.com/davrodpin/mole/master/LICENSE
+ sha256sums = 3d9398791f00878bb77bfaee9d84dd5c93755f639fbe592b7b655ec4f5889edd
+ sha256sums = 7e7839a3eb39cd8fa942a0ceeeac3ad214ec7d03b4be72da318ca0c15b1fb3a7
pkgname = mole-bin
diff --git a/PKGBUILD b/PKGBUILD
index 96dc2e655010..b22ff75391ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,19 @@
pkgname=mole-bin
pkgver=0.5.0
-pkgrel=2
+pkgrel=3
pkgdesc="CLI app to create SSH tunnels"
arch=('x86_64')
-url='https://davrodpin.github.io/mole/'
+url='https://davrodpin.github.io/mole'
+depends=('glibc')
license=('MIT')
provides=('mole')
-source=("https://github.com/davrodpin/mole/releases/download/v${pkgver}/mole${pkgver}.linux-amd64.tar.gz")
-md5sums=('36b2bf3dfbd50354644e2156172f9015')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/davrodpin/mole/releases/download/v${pkgver}/mole${pkgver}.linux-amd64.tar.gz"
+ 'https://raw.githubusercontent.com/davrodpin/mole/master/LICENSE')
+sha256sums=('3d9398791f00878bb77bfaee9d84dd5c93755f639fbe592b7b655ec4f5889edd'
+ '7e7839a3eb39cd8fa942a0ceeeac3ad214ec7d03b4be72da318ca0c15b1fb3a7')
package() {
install -Dm755 "${srcdir}"/mole "${pkgdir}/usr/bin/mole"
+ install -Dm644 "${srcdir}"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
} \ No newline at end of file