summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authororhun2020-08-31 01:39:05 +0300
committerorhun2020-08-31 01:39:05 +0300
commit86ae830df75e3cfe3b72a6b5f3ff125f996a4331 (patch)
treee66855ecf422bb8c11dadd07aa24c0d0d57f3ac0 /PKGBUILD
parent4cb412bb2e7dbb625f64ad897fbb993976030901 (diff)
downloadaur-86ae830df75e3cfe3b72a6b5f3ff125f996a4331.tar.gz
upgpkg: notp-bin 2.1.0-1
upstream release Install the LICENSE
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f3bdd6386a4..ceff6c5a2013 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,9 +9,12 @@ arch=('x86_64')
url="https://github.com/kondanta/notp"
license=('MIT')
conflicts=("${pkgname%-bin}" "${pkgname%-bin}-git")
-source=("${pkgname%-bin}::$url/releases/download/v$pkgver/${pkgname%-bin}_linux")
-sha512sums=('89d717d71233dcc418e36af66929a3c38ae78195d2656d8f77732fd7bf3062fff1f0592868a1473fde2168f181e896e98f2afc8c277bcfeeeb01b923e3c73b7d')
+source=("${pkgname%-bin}::$url/releases/download/v$pkgver/${pkgname%-bin}_linux"
+ "${pkgname%-bin}-$pkgver-LICENSE::$url/raw/v$pkgver/LICENSE")
+sha512sums=('89d717d71233dcc418e36af66929a3c38ae78195d2656d8f77732fd7bf3062fff1f0592868a1473fde2168f181e896e98f2afc8c277bcfeeeb01b923e3c73b7d'
+ '57f4d16bb970bbff5d94b0cc62729948ce2fdb929df6023ed1e9192209da36b0f4c309b5d42cf93edbbe18c49fe35ab91ea6d59e47f3813cfa59009e61539861')
package() {
install -Dt "$pkgdir/usr/bin/" "$srcdir/${pkgname%-bin}"
+ install -Dm 644 ${pkgname%-bin}-$pkgver-LICENSE "$pkgdir/usr/share/licenses/${pkgname%-bin}/LICENSE"
} \ No newline at end of file