summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Parreira2022-11-11 20:51:13 +0000
committerGustavo Parreira2022-11-11 20:51:13 +0000
commit74e55b264e8ee0c90943d16b5765f6d4715ae46a (patch)
treedeb0aa6345705257c16d3780354bc628326198ff
parent5478bb2244eafc86ed26f6c06ceecf1d64c96cde (diff)
downloadaur-74e55b264e8ee0c90943d16b5765f6d4715ae46a.tar.gz
chore: installing license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bdb00457293f..b3b4cc104fe8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hyprshot
pkgdesc = A utility to easily take screenshots in Hyprland using your mouse
pkgver = 1.2.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/Gustash/Hyprshot
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index e804bdc3f39f..3f742397056f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Gustavo Parreira <gustavotcparreira at gmail dot com>
pkgname=hyprshot
pkgver=1.2.1
-pkgrel=2
+pkgrel=3
url="https://github.com/Gustash/Hyprshot"
pkgdesc="A utility to easily take screenshots in Hyprland using your mouse"
arch=('any')
@@ -13,7 +13,9 @@ source=("hyprshot-$pkgver.tar.gz::https://github.com/Gustash/Hyprshot/archive/$p
sha512sums=('90513404c07885b75838fce814855e12bc48af214fbab7a5792b6a8f84f4d433e45811f3dedbc1651005c1797d549bf48f85b8a1c7b01982ea839c8b62f05d26')
package() {
- cd "$pkgname-$pkgver"
- mkdir -p "$pkgdir/usr/bin"
- cp hyprshot "$pkgdir/usr/bin/"
+ cd "$pkgname-$pkgver"
+ mkdir -p "$pkgdir/usr/bin"
+
+ cp hyprshot "$pkgdir/usr/bin/"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}