summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-05-11 02:10:44 +0300
committerDimitris Kiziridis2020-05-11 02:10:44 +0300
commitb0c80cfef33d25df8cf11d7cae5ba2d9eb0f50a1 (patch)
treef90a953c09336570ea2bc41ad743755349474a78
parent04468e6e1ff2a1c22d5ebce99b39c0f6b0c32f8c (diff)
downloadaur-b0c80cfef33d25df8cf11d7cae5ba2d9eb0f50a1.tar.gz
sanitize pkgbuild
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7fb11c64634..8f4414e72b25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,7 +4,8 @@ pkgbase = dnote-server-bin
pkgrel = 1
url = https://www.getdnote.com/
arch = x86_64
- license = AGPL-3.0
+ license = AGPL3
+ depends = glibc
provides = dnote-server
source = dnote-server-bin-1.0.3.tar.gz::https://github.com/dnote/dnote/releases/download/server-v1.0.3/dnote_server_1.0.3_linux_amd64.tar.gz
sha256sums = fd3b77f7ed70430ee675019fd5c3a0b0ca4b8f6757a256f5fedca7a7959db3da
diff --git a/PKGBUILD b/PKGBUILD
index de076a1826ef..93aa7489fc1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,13 @@ pkgrel=1
pkgdesc="A simple command line notebook for programmers (Server)"
arch=('x86_64')
url="https://www.getdnote.com/"
-license=('AGPL-3.0')
+license=('AGPL3')
provides=('dnote-server')
+depends=('glibc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/dnote/dnote/releases/download/server-v${pkgver}/dnote_server_${pkgver}_linux_amd64.tar.gz")
sha256sums=('fd3b77f7ed70430ee675019fd5c3a0b0ca4b8f6757a256f5fedca7a7959db3da')
package() {
install -Dm755 "$srcdir/dnote-server" -t "${pkgdir}/usr/bin/"
install -Dm644 "${srcdir}/README.md" -t "${pkgdir}/usr/share/doc/"
- install -dm755 "$pkgdir/usr/share/licenses/dnote-server"
- ln -s /usr/share/licenses/common/AGPL3/license.txt "$pkgdir/usr/share/licenses/dnote-server/LICENSE"
} \ No newline at end of file