summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorEmilio Reggi2022-04-16 17:21:34 +0200
committerEmilio Reggi2022-04-16 17:21:34 +0200
commitcc0506d0f284889b58f502ae8f5cccc2e2895ae1 (patch)
tree9c728c8ca1206d5895602dc1dcb2bf2a707f08f3 /PKGBUILD
parentc0904bb88dfb7406bc290c7b3fdcb4cd550a4b40 (diff)
downloadaur-nntpit-git.tar.gz
Added license file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 38471cf3bdcd..6c9b1bba7673 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
# Maintainer: Emilio Reggi <nag@mailbox.org>
pkgname=nntpit-git
_pkgname=nntpit
-pkgver=r32.31081c8
+pkgver=r45.9076121
pkgrel=1
pkgdesc="A simple reddit2nntp gateway server that lets you use a newsreader to follow discussions on reddit."
arch=('x86_64')
url="https://github.com/taviso/nntpit"
-license=('unknown') # As of 2021-08-29, upstream issue is opened here: https://github.com/taviso/nntpit/issues/11
+license=('MIT')
depends=('curl' 'json-c' 'glib2' 'libev')
makedepends=('git')
conflicts=("${_pkgname}")
replaces=("${_pkgname}")
-source=("${_pkgname}"::"git+${url}")
-md5sums=('SKIP')
+source=("${_pkgname}"::"git+${url}" "LICENSE-$pkgver::$url/raw/main/LICENSE")
+sha256sums=('SKIP' '8535fefdac77bd012a69fab8402b016daa4827498863fa2d8dbaebe1caa0ae12')
prepare() {
cd "$_pkgname"
@@ -32,5 +32,6 @@ build() {
package() {
cd "$_pkgname"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname/"
}