summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjojii2020-09-11 00:44:45 +0200
committerjojii2020-09-11 00:44:45 +0200
commiteadbd2befdd758bfebeb8ee1c02814bcf86855be (patch)
treec196b51506a9cbea9c443bbbd4b731acf5ab98ab
parent011ee79b8a225f3883496d6c3af280bbf387d937 (diff)
downloadaur-eadbd2befdd758bfebeb8ee1c02814bcf86855be.tar.gz
Add installing license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1345b6037fe..310aea02c3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = instantly
pkgdesc = Download instagram photos instantly
pkgver = 0.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/arlyon/instantly
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index be59ef50184..118f7cf613b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alexander Lyon <arlyon@me.com>
pkgname=instantly
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Download instagram photos instantly"
url="https://github.com/arlyon/instantly"
license=("MIT")
@@ -29,5 +29,6 @@ package() {
usrdir="$pkgdir/usr"
mkdir -p $usrdir
install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm 755 "license" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}