diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = ezshare pkgdesc = Easily share files, folders and clipboard over LAN - Like Google Drive but without internet pkgver = 1.9.0 - pkgrel = 3 + pkgrel = 4 url = https://github.com/mifi/ezshare changelog = changelog.md arch = x86_64 @@ -15,6 +15,8 @@ pkgbase = ezshare options = emptydirs options = zipman source = https://registry.npmjs.org/ezshare/-/ezshare-1.9.0.tgz + source = https://raw.githubusercontent.com/mifi/ezshare/master/LICENSE b2sums = a46df8031c223da4158bb0b88003675c87644ccddd0e1725b8e8455da99dab607b1d8c4ddc3cc56efc667d66a9822734bc6c50f3ff5e5fc5d34749fe53a5c6ab + b2sums = d4c7472ae3e92a22ca856eb72895a0862af5c283f21cc978ceef69af25f14dcc8e708a26154f697e9e22e4051e7bfa91e958e62aa3b4f6bf8c45f75f02cb6d13 pkgname = ezshare @@ -3,7 +3,7 @@ _npmname=ezshare pkgname=$_npmname pkgver=1.9.0 -pkgrel=3 +pkgrel=4 pkgdesc="Easily share files, folders and clipboard over LAN - Like Google Drive but without internet" arch=("x86_64") @@ -17,9 +17,11 @@ makedepends=("npm" "jq") options=(strip emptydirs zipman) changelog="changelog.md" -source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${pkgver}.tgz") +source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${pkgver}.tgz" + "https://raw.githubusercontent.com/mifi/ezshare/master/LICENSE") noextract=("${_npmname}-${pkgver}.tgz") -b2sums=('a46df8031c223da4158bb0b88003675c87644ccddd0e1725b8e8455da99dab607b1d8c4ddc3cc56efc667d66a9822734bc6c50f3ff5e5fc5d34749fe53a5c6ab') +b2sums=('a46df8031c223da4158bb0b88003675c87644ccddd0e1725b8e8455da99dab607b1d8c4ddc3cc56efc667d66a9822734bc6c50f3ff5e5fc5d34749fe53a5c6ab' + 'd4c7472ae3e92a22ca856eb72895a0862af5c283f21cc978ceef69af25f14dcc8e708a26154f697e9e22e4051e7bfa91e958e62aa3b4f6bf8c45f75f02cb6d13') # Document: https://wiki.archlinux.org/title/Node.js_package_guidelines package() { @@ -48,4 +50,7 @@ package() { mv "$tmppackage" "$pkgjson" chmod 644 "$pkgjson" done + + # Install LICENSE file + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |