summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde2021-03-19 23:37:21 +0100
committerDaniel Milde2021-03-19 23:38:02 +0100
commit2577e90bd1d3f76189efb22a912484aab39e9afc (patch)
tree4e5cf3fdeaf95bf62cff02808b5687c9cdd6c1b9
parent0529c6a2089ed866562a6f5fe91c94df07b46960 (diff)
downloadaur-2577e90bd1d3f76189efb22a912484aab39e9afc.tar.gz
added man page and license
-rw-r--r--.SRCINFO6
-rw-r--r--LICENSE8
-rw-r--r--PKGBUILD12
3 files changed, 22 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f672634d0eb..e2d6836f5266 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,18 @@
pkgbase = gdu-bin
pkgdesc = Fast disk usage analyzer
pkgver = 4.8.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Dundee/gdu
arch = x86_64
license = MIT
conflicts = gdu
conflicts = gdu-git
source = gdu-bin-4.8.1.tgz::https://github.com/dundee/gdu/releases/download/v4.8.1/gdu_linux_amd64.tgz
+ source = gdu-bin.1-4.8.1.tgz::https://github.com/dundee/gdu/releases/download/v4.8.1/gdu.1.tgz
+ source = LICENSE
sha256sums = c3032ea37471a4719f07e31da4c1804e0c954edca7194cabb0ed9dc3982a603f
+ sha256sums = fe3cb9dda262e0c7091cb571352997323d7f6970fbf1911ab752a71ac5f3cda8
+ sha256sums = 613e9144d1403bba9553d64daf6a5e28d4c6bd9fabed81da80efaf91eb573dad
pkgname = gdu-bin
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..3d3b99f8f28f
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,8 @@
+Copyright 2020-2021 Daniel Milde <daniel@milde.cz>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/PKGBUILD b/PKGBUILD
index 5b008c3c6b49..680a12e9dd61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,23 @@
pkgname=gdu-bin
pkgver=4.8.1
-pkgrel=1
+pkgrel=2
license=('MIT')
pkgdesc="Fast disk usage analyzer"
conflicts=(gdu gdu-git)
arch=('x86_64')
url="https://github.com/Dundee/gdu"
-source=("${pkgname}-${pkgver}.tgz::https://github.com/dundee/gdu/releases/download/v${pkgver}/gdu_linux_amd64.tgz")
-sha256sums=('c3032ea37471a4719f07e31da4c1804e0c954edca7194cabb0ed9dc3982a603f')
+source=("${pkgname}-${pkgver}.tgz::https://github.com/dundee/gdu/releases/download/v${pkgver}/gdu_linux_amd64.tgz"
+ "${pkgname}.1-${pkgver}.tgz::https://github.com/dundee/gdu/releases/download/v${pkgver}/gdu.1.tgz"
+ "LICENSE")
+sha256sums=('c3032ea37471a4719f07e31da4c1804e0c954edca7194cabb0ed9dc3982a603f'
+ 'fe3cb9dda262e0c7091cb571352997323d7f6970fbf1911ab752a71ac5f3cda8'
+ '613e9144d1403bba9553d64daf6a5e28d4c6bd9fabed81da80efaf91eb573dad')
package() {
cd "$srcdir"
install -Dm755 gdu_linux_amd64 "${pkgdir}"/usr/bin/gdu
+ install -Dm644 gdu.1 "${pkgdir}"/usr/share/man/man1/gdu.1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/gdu/LICENSE"
}