summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhai96_2019-03-28 09:29:44 +0700
committerkhai96_2019-03-28 09:29:44 +0700
commit5f6464df3d7c5ac6395bdeb348b92ca33d704759 (patch)
tree04dea9e6dd1de1924e1c096e02bc215f67dc56bd
parente6ac66a7234df9591857c284286223c3b1514ccb (diff)
downloadaur-5f6464df3d7c5ac6395bdeb348b92ca33d704759.tar.gz
Install LICENSE.md
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 884e046f31cd..ecd8aa4a27d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,8 @@ arch=(any)
url="https://github.com/KSXGitHub/srcinfo.pkgbuild.git"
license=(MIT)
depends=(pacman bash)
+source=(LICENSE.md)
+sha512sums=(SKIP)
build() {
(
@@ -18,4 +20,5 @@ build() {
package() {
install -Dm755 srcinfo "$pkgdir"/usr/bin/srcinfo
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
}